{{editprotected}}
This template is protected in a broken state as it returns characters in the range start − 1 → start + length
(which means it actually returns length + 1 characters, ending in the right spot but starting one step early):
{{str sub|0123456789ABCDEF|6|3}} == 678
The output "5678" is incorrect as the "5" should not be part of it.
See Comparison of programming languages (string functions)#substring. This does not match the syntax of any known language. Please fix. — CharlotteWebb 03:04, 14 June 2009 (UTC)