Module:Str find word/doc: Difference between revisions

Content deleted Content added
No edit summary
Line 2:
{{Module rating|pre-alpha}}
This module looks for a complete word in a comma-separated list of words. It then returns a True or False value, which can be used accordingly.
:
:The search can be ecxtended to check for multiple words being present (
 
:The search can be ecxtendedextended to check for multiple words being present (.
 
For example, in the string '{{mono|1=alpha, foobar}}' the word '{{mono|1=alpha}}' appears, but the word '{{mono|1=foo}}' does not: there only is the complete word '{{mono|1=foobar}}'. The module is aimed at template code usage. <small>(The editor does not have to apply Lua patterns like {{code|1=[%a%d]*}})</small>.