Nhwɛdo:Strfind short/testcases

WikiCode Expected result Main template Sandbox
{{strfind short}} 0 0 0
{{strfind short|abcdef|-|1}} 0 0 0
{{strfind short|abc-def|-|1}} 4 4 4
{{strfind short|abcdef|dc|2}} 0 0 0
{{strfind short|abcdedcf|dc|2}} 6 6 6
{{strfind short|10400|-|1}} 0 0 0
{{strfind short|10400500600700800|-|1}} 0 0 0
{{strfind short|10400500600700-800|-|1}} 15 15 15