Template:Str rep/doc

Usage
Returns with the first occurrence of replaced with. If you are lucky.

Limitations
Caveat emptor.

Works on the assumption that there is a match. For a conditional version see str repc.

50 char strings. Limited set of characters,perhaps

Expensive.