Template:Strfind short
Jump to navigation
Jump to search
0
This template uses Module:String, a script written in the Lua programming language. Please see Wikipedia:Lua if you want to learn more about Lua or help convert other templates. |
{{strfind short|target|string}} outputs the position in target where string first appears (e.g. an output of "3" would mean beginning at the third character in target). If string is not found, it outputs zero (0).
Examples
See also
- {{str find}}, which also searches strings but with expansion depth of 18 or more.
The above documentation is transcluded from Template:Strfind short/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |