සැකිල්ල:Replace/උපදෙස්
පෙනුම
|
|
මෙම සැකිල්ල පිටු බොහෝ ගණනක භාවිතා වන නිසා සිදුකරන වෙනස් කිරීම් බොහෝ ස්ථානවලට බලපානු ඇත. ඔබ සිදුකිරීමට අදහස් කරන වෙනස්කම් මෙම සැකිල්ලට අදාළ /sandbox හෝ /testcases උපපිටුවල, හෝ ඔබගේ පරිශීලක උපපිටුවේ පළමුව සිදුකොට පරීක්ෂාකර බලන්න. එම වෙනස්කම් සිදුකිරීමට ප්රථම අදාළ සාකච්ඡා පිටුවේ ඒ පිළිබඳව සංවාදයක් ගොඩනැගීමට කාරුණික වන්න.
Transclusion count updated automatically (ප්රලේඛනය වෙතට යොමුවන්න). |
|
|
මෙය "සැකිල්ල:Replace" සඳහා උපදෙස් උප පිටුවක් වේ (සැකිල්ල සඳහා එම පිටුව වෙතට යොමු වන්න). මෙහි ඇත්තේ භාවිත තොරතුරු, ප්රවර්ග, සහ මූලික සැකිල්ල පිටුවට අදාළ නොවන වෙනත් අන්තර්ගතය වේ. |
| මෙම සැකිල්ල ලුවා භාවිතා කරයි: |
Usage
[සංස්කරණය]{{replace|string|target|replacement|count=n}}
Returns string with the first n occurrences of target replaced with replacement. Omitting
XML Example
count
will replace all occurrences. Space counts as a character if placed in any of the first three parameters.
Examples
[සංස්කරණය]{{replace|One two two three two four twotwo five|two|NINE}}→ One NINE NINE three NINE four NINENINE five{{replace|One two two three two four twotwo five|two|NINE|count=2}}→ One NINE NINE three two four twotwo five{{replace|foo_bar|_| }}→ foo bar
Space
[සංස්කරණය]{{replace|One-two two-three two-four twotwo-five|-|—}}→ One—two two—three two—four twotwo—five{{replace|One-two two-three two-four twotwo-five|- |—}}→ One-two two-three two-four twotwo-five
See also
[සංස්කරණය]- {{str rep}}, which replaces only the first occurrence of a string.
- mw:Extension:ParserFunctions/String functions##replace
Lua දෝෂය in Module:Navbox_with_collapsible_groups at line 6: attempt to call field 'with collapsible groups' (a nil value).