Jump to content

Module:String: Difference between revisions

10 bytes removed ,  11 years ago
fix comment
m>Dragons flight
(include more generic replacement function)
m>Dragons flight
(fix comment)
Line 144: Line 144:


Usage:
Usage:
{{#invoke:String|replace_plain|source_str|pattern_string|replace_string|replacement_count|pattern_flag}}
{{#invoke:String|replace|source_str|pattern_string|replace_string|replacement_count|plain_flag}}
OR
OR
{{#invoke:String|replace_plain|source=source_str|pattern=pattern_str|replace=replace_string|
{{#invoke:String|replace|source=source_string|pattern=pattern_string|replace=replace_string|
   count=replacement_count|plain=pattern_flag}}
   count=replacement_count|plain=plain_flag}}


Parameters
Parameters
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.