Template:Strfind short/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Strfind short. It contains usage information, categories, interlanguage links and other content that is not part of the original template page. |
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.
Template:String-handling templates