Template:Str find/testcases

Current

  • {{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

  • {{Str find/sandbox|Panthera (genus)|(}}=10
  • {{Str find/sandbox|Panthera (genus)| (}}=9
  • {{Str find/sandbox|Panthera (genus)|/}}=-1
Category:Testcases templates
Category:Testcases templates