Template:Str sub find/doc

The Template:str_sub_find searches for a substring in a string at the given offset.

Usage


It returns 1, if string2 is found in string1 at the given offset, otherwise it will return empty string. This makes the result easy usable in Help:Extension:ParserFunctions like. Offset is zero-based and can be omitted if zero.