Adresa
:
[go:
nahoru
,
domu
]
Jump to content
A̱tsak meniu
A̱tsak meniu
move to sidebar
ta̱kup
Tyong keang
A̱tsak wat wu
A̱na̱nwuai sot-á̱niet
Naat mbwuot mi̱ di̱ yong huni
A̱ka̱shai mmam nani
Sa̱nseang wat
Beang
Zop
Zop
Li
Nang za̱nang
Khwuk a̱la̱n ka
Nwuo
Nkyangta̱m a̱bala̱lang
Nang za̱nang
Khwuk a̱la̱n ka
Nwuo
Pages for logged out editors
myiam nkyang jhyang
Jhyet
A̱lyiat
Jhyuk
Module:String/doc
(tamm)
Mbeang lilyem
Module
Bwoi a̱lyiat
Tyap
Fang
Jhyuk a̱tyin ka
Nwuan nkhang
Nkyangta̱m
Nkyangta̱m
move to sidebar
ta̱kup
Nta̱m
Fang
Jhyuk a̱tyin ka
Nwuan nkhang
Kuzangka̱i
Yihwa hwa á̱ ku fwuop a̱ji
A̱ka̱shai na̱ byia̱ a̱meang a̱ni
Kpa̱t fayit
Ngwat khwo
Nkhang wat
Shyia̱ a̱kum URL
Cyok ma̱ng zwunzwuo-a̱muup QR ji
Di̱ nta̱m jhyang
Li
move to sidebar
ta̱kup
Gba:
A ka̱n nwuo bah. A̱vwuonswat IP ang ka na vwuot ma̱ wowot a̱zaghyi konyan ka̱nang a jhyuk kyang. Ka̱ a
nwuo
ke a
khwuk a̱la̱n
, á̱ na nkyiak njhyuk ang na nang á̱di̱dam kaswuo a̱lyoot-a̱tyunta̱m ang nia, a̱mgba̱m ma̱ng záng jhyang.
Nwuan anti-spam.
Yok
nhyat si̱ huni bah!
== replace (gsub) == This function allows one to replace a target string or pattern within another string. To Lua programmers: this function works internally by calling {{code|string.gsub}}. Usage: : <code><nowiki>{{#invoke:</nowiki>String|replace|''source_str''|''pattern_string''|''replace_string''|''replacement_count''|''plain_flag''}}</code> OR : <code><nowiki>{{#invoke:</nowiki>String|replace|source= ''source_string'' |pattern= ''pattern_string'' |replace= ''replace_string'' |count= ''replacement_count'' |plain= ''plain_flag'' }}</code> Parameters: ; source : The string to search ; pattern : The string or pattern to find within source ; replace : The replacement text ; count : The number of occurrences to replace; defaults to all ; plain : Boolean flag indicating that pattern should be understood as plain text and not as a [[mw:Extension:Scribunto/Lua reference manual#Ustring patterns|Scribunto ustring pattern]] (a unicode-friendly [[w:en:Lua (programming language)|Lua]]-style [[w:en:regular expression|regular expression]]); defaults to true Examples: * <code><nowiki>"{{#invoke:String|replace| abc123def456 |123|XYZ}}"</nowiki></code> → "{{#invoke:String|replace| abc123def456 |123|XYZ}}" * <code><nowiki>"{{#invoke:String|replace|source= abc123def456 |pattern= 123 |replace= XYZ }}"</nowiki></code> → "{{#invoke:String|replace|source= abc123def456 |pattern= 123 |replace= XYZ }}" * <code><nowiki>"{{#invoke:String|replace| abc123def456 |%d+|XYZ|1|false}}"</nowiki></code> → "{{#invoke:String|replace| abc123def456 |%d+|XYZ|1|false}}" * <code><nowiki>"{{#invoke:String|replace|source= abc123def456 |pattern= %d+ |replace= XYZ |count=1 |plain= false }}"</nowiki></code> → "{{#invoke:String|replace|source= abc123def456 |pattern= %d+ |replace= XYZ |count=1 |plain= false }}" * <code><nowiki>"{{#invoke:String|replace|source= abc123def456 |pattern= %d+ |replace= XYZ |plain= false }}"</nowiki></code> → "{{#invoke:String|replace|source= abc123def456 |pattern= %d+ |replace= XYZ |plain= false }}" * <code><nowiki>{{#invoke:String|replace|source= 0012001200 |pattern= ^0* |plain= false }}</nowiki></code> → {{#invoke:String|replace|source= 0012001200 |pattern= ^0* |plain= false }}
Nam-a̱lyiat:
Ka̱nang a si̱ sak a̱ka̱shai na, si̱ a̱hwa fa nyia̱ a shim
Nka̱nda̱n Nyian Ta̱m
ninia, a̱wot a si̱, di̱ mi̱n shyiak fwuo á̱zanson, shim sa̱u jhyet ang ji tafa
Lasi̱n CC BY-SA 4.0
ma̱ng
GFDL
ji. A shim nyia̱ hyperlink ku URL nyiung ma̱nyin maai yet shei kaswuo tafa lasi̱n Creative Commons ji meang.
Lyang
Beang mi̱ di̱ jhyuk
(khwuk mi̱ di̱ zunzwat swai)
Preview page with this template