Module:Str find word/doc: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 12:
 
''AND''-list of words, all words must be present:
:True: <code><nowiki>{{#invoke:Str find word|main |source=alpha, beta, gamma |andwords=beta, alpha}}</nowiki></code> &rarr; >{{#invoke:Str find word |main |source=alpha, beta, gamma|andwords=beta, alpha}}<
:False: <code><nowiki>{{#invoke:Str find word|main |source=alpha, beta, gamma |andwords=beta, omega}}</nowiki></code> &rarr; >{{#invoke:Str find word |main |source=alpha, beta, gamma |andwords=beta, omega}}<
 
''OR''-list of words, at least one off the words must be present:
:True: <code><nowiki>{{#invoke:Str find word|main |source=alpha, beta, gamma|orwords=beta, alpha}}</nowiki></code> &rarr; >{{#invoke:Str find word |main |source=alpha, beta, gamma |orwords=beta, alpha}}<
:False: <code><nowiki>{{#invoke:Str find word|main |source=alpha, beta, gamma|orwords=beta, omega}}</nowiki></code> &rarr; >{{#invoke:Str find word |main |source=alpha, beta, gamma |orwords=beta, omega}}<
 
Complete words: the complete word is '{{mono|1=foobar}}' (example needed)