සැකිල්ල:str sub-lite
- පහත දැක්වෙන උපදෙස්, සැකිල්ල:str sub-lite/documentation හි පිහිටා ඇත. [සංස්කරණය]
- ප්රයෝජනවත් සබැඳි: උප පිටු ලැයිස්තුව • සබැඳි • යළි යොමු • transclusions • errors (parser/module) • sandbox
This template returns a substring of a string. It's a lite template that doesn't make use of Lua modules.
Usage සංස්කරණය
{{str sub-lite|text|start|end}}
means:
"Substring of text starting at start and ending at end. Zero-indexed: the first character is numbered 0, and so on, e.g. {{str sub-lite|20090624130510|8|9}}
returns characters starting at the 8th and ending at the 9th, i.e. "41"."
See also සංස්කරණය
- Module:string utilities#export.sub
- Lua දෝෂය in Module:table at line 557: attempt to call upvalue 'string_sort' (a nil value).