Module:Str find word/doc: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 5:
 
For example, in the source string '{{mono|1=foo, bar}}' the word '{{mono|1=bar}}' appears, but the word '{{mono|1=november}}' does not.
:True: <code><nowiki>{{#invoke:Str find word|main |source=foo, bar|word=bar}}</nowiki></code> &rarr; >{{#invoke:Str find word|main |source=foo, bar|word=bar}}< ({{code|True}})
:False: <code><nowiki>{{#invoke:Str find word|main |source=alpha, beta, gamma|word=november}}</nowiki></code> &rarr; >{{#invoke:Str find word|main |source=alpha, beta, gamma|word=november}}< ({{code|False}})
 
Complete words: the complete word is '{{mono|1=foobar}}' ... example needed ...