Template:Strfind short/doc

{{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). The word "short" in the title is a relic of the pre-Lua implementation and has no meaning for the current version. This template is a simple wrapper around {{#invoke:string|find}}, which may be used directly for more options.