Error getting tags :
error 404Error getting tags :
error 404 is among | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
is among
Basics
Expander triangle
Type
Operator
Syntax

valueToFind is among the {words | items | lines} of stringToSearch

Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Evaluates to true if a chunk is equal to one of the chunks in a string, false otherwise.
Examples

"Hello" is among the words of "Hello World" -- evaluates to true
"Hell" is among the words of "Hello World" -- evaluates to false

Additional Comments
Expander triangle

Use the is among operator to find out whether a string exists as an entire word, item, or line of another string.

Parameters:

The valueToFind is a string or an expression that evaluates to a string.

The stringToSearch is a string or an expression that evaluates to a string.

Comments:

The valueToFind must be a single word, item, or line (whichever chunk type you have specified). If you specify a string containing more than one chunk, the is among operator evaluates to false, even if all the chunks are in the stringToSearch.

The is among operator is the logical inverse of the is not among operator. When one is true, the other is false.

User Comments
Expander triangle