Template:Str find/testcases
Jump to navigation
Jump to search
Current
[edit]- {{Str find|Panthera (genus)|P}}=1 (first character)
- {{Str find|Panthera (genus)|a}}=2 (second character)
- {{Str find|Panthera (genus)|(}}=10
- {{Str find|Panthera (genus)| (}}=9
- {{Str find|Panthera (genus)|/}}=-1 (means not found)
- {{Str find|Panthera (genus)|}}=1 (Warning: empty substring returns 1)
Sandbox
[edit]- {{Str find/sandbox|Panthera (genus)|(}}=10
- {{Str find/sandbox|Panthera (genus)| (}}=9
- {{Str find/sandbox|Panthera (genus)|/}}=-1