Module:Str find word/doc: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 10:
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>.
 
:True: <code><nowiki>{{#invoke:Str find word|main |source=alpha, beta, omega|word=beta}}</nowiki></code> &rarr; >{{#invoke:Str find word|main |explain=true |source=alpha, beta, omega|word=beta}}<
:False: <code><nowiki>{{#invoke:Str find word|main |source=alpha, beta, omega|word=gamma}}</nowiki></code> &rarr; >{{#invoke:Str find word|main |source=alpha, beta, omega|word=gamma}}<