پرش به محتوا

الگو:Str rep/توضیحات: تفاوت میان نسخه‌ها

از ویکی‌هزاره
صفحه‌ای تازه حاوی «{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> === Usage === <nowiki> {{Str rep|<string>|<find>|<replacewith>}} </nowiki> 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 {{Tl|str repc}}. 50 char strings. Limited s...» ایجاد کرد
 
(بدون تفاوت)

نسخهٔ کنونی تا ‏۲۴ ژانویهٔ ۲۰۲۵، ساعت ۱۷:۴۶

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.

See also

Description of all string templates