forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathis-not-in.lcdoc
More file actions
46 lines (28 loc) · 975 Bytes
/
is-not-in.lcdoc
File metadata and controls
46 lines (28 loc) · 975 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Name: is not in
Type: operator
Syntax: <subString> is not in <string>
Summary:
Compares two <string|strings> and <evaluate|evaluates> to true if the
second does not contain the first, false if it does.
Introduced: 1.0
OS: mac, windows, linux, ios, android
Platforms: desktop, server, mobile
Example:
"S" is not in "BSD" -- evaluates to false
Parameters:
substring (string):
The substring and string are both strings, or expressions that evaluate
to strings.
string (string):
Description:
Use the <is not in> <operator> to find out whether a <string> does not
contain a substring.
The expression
firstString is not in secondString
is equivalent to
not (secondString contains firstString)
The <is not in> <operator> is the logical inverse of the <is in>
<operator>. When one is true, the other is false.
References: evaluate (glossary), string (glossary), operator (glossary),
string (keyword), contains (operator), is in (operator)
Tags: text processing