الگو:Str rep: تفاوت میان نسخهها
ظاهر
صفحهای تازه حاوی «{{#invoke:String|replace|source={{{1}}}|{{{2}}}|{{{3}}}|1}}<noinclude> {{توضیحات}}</noinclude>» ایجاد کرد |
(بدون تفاوت)
|
نسخهٔ کنونی تا ۲۴ ژانویهٔ ۲۰۲۵، ساعت ۱۸:۴۶
{{{1}}}
Usage
{{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.