Difference between revisions of "Module:String"

Jump to navigation Jump to search
6 bytes removed ,  11:39, 21 May 2020
nomatch_output -> nomatch
>DannyS712
m (Protected "Module:String": Highly visible template ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only administrators] (indefinite)))
>Evolution and evolvability
(nomatch_output -> nomatch)
Line 52: Line 52:
This function returns a substring of the target string at specified indices.
This function returns a substring of the target string at specified indices.


Usage:
Usage:n
{{#invoke:String|sub|target_string|start_index|end_index}}
{{#invoke:String|sub|target_string|start_index|end_index}}
OR
OR
Line 113: Line 113:


Usage:
Usage:
{{#invoke:String|match|source_string|pattern_string|start_index|match_number|plain_flag|nomatch_output}}
{{#invoke:String|match|source_string|pattern_string|start_index|match_number|plain_flag|nomatch}}
OR
OR
{{#invoke:String|pos|s=source_string|pattern=pattern_string|start=start_index
{{#invoke:String|pos|s=source_string|pattern=pattern_string|start=start_index

Navigation menu