forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomma.lcdoc
More file actions
52 lines (31 loc) · 1.02 KB
/
comma.lcdoc
File metadata and controls
52 lines (31 loc) · 1.02 KB
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
46
47
48
49
50
51
Name: ,
Type: operator
Syntax: <string1> , <string2>
Summary:
<concatenate|Concatenates> (joins) two <string|strings> and inserts a
comma between them.
Introduced: 1.0
OS: mac, windows, linux, ios, android
Platforms: desktop, server, mobile
Example:
put "first","second" -- evaluates to "first,second"
Example:
get lastName,firstName middleName
Parameters:
string1 (string):
The operands string1 and string2 are literal strings of characters
(delimited with double quotes), or expressions that evaluate to strings.
string2 (string):
The result:
The result of the <,> <operator> is a <string(keyword)> consisting of
<string1>, a comma, and <string2>.
Description:
Use the <,> <operator> to combine two <string(glossary)|strings> with a
comma between them.
The <,> <operator> is equivalent to comma <a/>. In other words,
"this" , "that"
does the same thing as
"this" comma "that"
References: comma (constant), string (glossary), concatenate (glossary),
operator (glossary), string (keyword)
Tags: text processing