پرش به محتوا

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

See also

Description of all string templates