پرش به محتوا

الگو:Str rep

ویکی‎کتاب، کتابخانهٔ آزاد

{{{1}}}

نماد توضیحات توضیحات الگو[نمایش] [ویرایش] [تاریخچه] [پاکسازی]

{{Str rep|<string>|<find>|<replacewith>}}

Returns <string> with the first occurrence of <find> replaced with <replacewith>. 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.

نماد توضیحات توضیحات الگو[نمایش] [ویرایش] [تاریخچه] [پاکسازی]

{{Str rep|<string>|<find>|<replacewith>}}

Returns <string> with the first occurrence of <find> replaced with <replacewith>. 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.