Jump to content

Template:Str index/testcases

From Wikipedia, the free encyclopedia

Testing {{str index/sandbox}} and {{str index}}

[edit]
{{str index/sandbox}} String Module Error: String index out of range
{{str index}} String Module Error: String index out of range
{{str index/sandbox|abc}} String Module Error: String index out of range
{{str index|abc}} String Module Error: String index out of range
{{str index/sandbox|abc|2}} b
{{str index|abc|2}} b

{{str index/sandbox|abc|3}} c
{{str index|abc|3}} c
{{str index/sandbox|abc|4}} String Module Error: String index out of range
{{str index|abc|4}} String Module Error: String index out of range
{{str index/sandbox|abc|5}} String Module Error: String index out of range
{{str index|abc|5}} String Module Error: String index out of range
{{str index/sandbox|abc|6}} String Module Error: String index out of range
{{str index|abc|6}} String Module Error: String index out of range

={{str index/sandbox|a c|2}}= = =
={{str index|a c|2}}= = =
{{str index/sandbox|abc|4}} String Module Error: String index out of range
{{str index|abc|4}} String Module Error: String index out of range
{{str index/sandbox|abc|5}} String Module Error: String index out of range
{{str index|abc|5}} String Module Error: String index out of range
{{str index/sandbox|abc|6}} String Module Error: String index out of range
{{str index|abc|6}} String Module Error: String index out of range

{{str index/sandbox|abc|0}} String Module Error: String index out of range
{{str index|abc|0}} String Module Error: String index out of range
{{str index/sandbox|abc|1}} a
{{str index|abc|1}} a
{{str index/sandbox|abc|1}} a
{{str index|abc|1}} a

{{str index/sandbox|abc|0}} String Module Error: String index out of range
{{str index|abc|0}} String Module Error: String index out of range
{{str index/sandbox|abc|1}} a
{{str index|abc|1}} a
{{str index/sandbox|abc|2.25}} b
{{str index|abc|2.25}} b
{{str index/sandbox|abc|1.75}} a
{{str index|abc|1.75}} a
{{str index/sandbox|abc|-1}} c
{{str index|abc|-1}} c
{{str index/sandbox|abc|-2}} b
{{str index|abc|-2}} b