forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathis-in.lcdoc
More file actions
37 lines (23 loc) · 995 Bytes
/
Copy pathis-in.lcdoc
File metadata and controls
37 lines (23 loc) · 995 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
Name: is in
Type: operator
Syntax: <subString> is in <string>
Summary: Compares two <string|strings> and <evaluate|evaluates> to true if the second contains the first, false if not.
Introduced: 1.0
OS: mac,windows,linux,ios,android
Platforms: desktop,server,web,mobile
Example:
"A" is in "ABC" -- evaluates to true
Example:
"123" is in "13" -- 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 in> <operator> to find out whether a <string> contains a substring.
The expression
firstString is in secondString
is equivalent to
secondString contains firstString
The <is in> <operator> is the logical inverse of the <is not in> <operator>. When one is true, the other is false.
References: is not in (operator), contains (operator), is among (operator), evaluate (glossary), string (glossary), operator (glossary), string (keyword)
Tags: text processing