Module:Str find word/doc: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 14:
 
 
The search can be extended to check for multiple words being present.
:''AND''-list of words:
: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:
: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}}<
:True: <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}}<
 
 
== Usage ==