==
|
Compares strings as equal.
|
!=, <>, ~=
|
Compares strings as unequal.
|
+
|
Concatenates strings.
|
itos(num)
|
Converts numbers to strings. Here, num can be a number or an expression. Nonintegers are rounded off.
|
rtos(real)
|
Converts real numbers to strings. Here, real can be a parameter, dimension, or a decimal number.
For example,
A=rtos(123.456789) => A= 123.456789
B=rtos(123.456789,3) => B= 123.457
C=rtos(123.456789,4,yes) => C= 1.2346e02
A, B, and C are string parameters.
|
search(string, substring)
|
Searches for substrings. The resulting value is the position of the substring in the string (0 if not found). You can specify substrings with single or double quotes.
|
extract(string, position, length)
|
Extracts pieces of strings.
|
string_starts (string 1, string 2)
|
TRUE, if the value of string 1 starts with the value of string 2.
|
string_ends (string 1, string 2)
|
TRUE, if the value of string 1 ends with the value of string 2.
|
string_match (string 1, string 2)
|
TRUE, if the value of string 1 matches the value of string 2.
|
string_match (string 1, string 2)
|
TRUE, if the value of string 1 matches the value of string 2.
|
string_match (string 1, string 2)
|
TRUE, if the value of string 1 matches the value of string 2.
|
string_pattern (string 1, string 2)
|
TRUE, if the value of string 1 matches the value of string 2.
For example,
string_pattern(c,"asm[0-9]*"), then:
• c = asm123—returns TRUE
• c = asm1—returns TRUE
• c = asm_a—returns False
|
|
If you use the itos or rtosfunction on a parameter whose value is zero (0), the return value is an empty string.
|