Test:Substring
Jump to navigation
Jump to search
2019-07-05
The MediaWiki upgrade has obsoleted the old strlen functions. The modern way is to use the String module. i.e:
{{#invoke:String|sub|ABCDEFGHIJKLMNOPQRSTUVWXYZ|3|13}}
CDEFGHIJKLM
{{#invoke:String|len|ABCDEFGHIJKLMNOPQRSTUVWXYZ}}
26