الگو: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