| Home | | | Quick start | | | Cookbook | | | All symbols | | | Analytical index | | | Namespaces | | | Syntax | | | Statements | | | CX | | | Frequency | | | Functions | | | Examples | | | Examples by command |
Symbols grouped by the TEXT namespace.
Symbols in this namespace: 13
| Symbol | Kind | Category | Description |
|---|---|---|---|
TEXT.CONTAINS | Function | Text functions | Returns TRUE if value contains the requested text fragment. |
TEXT.INDEX_OF | Function | Text functions | Returns the zero-based index of fragment in value, or -1 when absent. |
TEXT.LEFT | Function | Text functions | Returns the first N characters. |
TEXT.LEN | Function | Text functions | Length of the value converted to text. |
TEXT.LINE_COUNT | Function | Text functions | Counts lines in a text block. Empty text returns 0; both LF and CRLF are supported. |
TEXT.LINE_ITEM | Function | Text functions | Returns one zero-based line from a text block. Out-of-range indices return an empty string. |
TEXT.LOWER | Function | Text functions | Converts text to lowercase. |
TEXT.MID | Function | Text functions | Extracts a substring starting at a given position. |
TEXT.REPLACE | Function | Text functions | Replaces one substring with another. |
TEXT.RIGHT | Function | Text functions | Returns the last N characters. |
TEXT.STR | Function | Text functions | Converts the value to string. |
TEXT.TRIM | Function | Text functions | Removes leading and trailing spaces. |
TEXT.UPPER | Function | Text functions | Converts text to uppercase. |
TEXT.CONTAINS(value, fragment [, caseSensitive])
Returns TRUE if value contains the requested text fragment.
Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.
| Parameter | Meaning |
|---|---|
caseSensitive | Optional parameter. If omitted, the command uses its internal default. |
ASSERT TEXT.CONTAINS(LANG.HELP("ROI.SET"), "ROI")TEXT.INDEX_OF(value, fragment [, caseSensitive])
Returns the zero-based index of fragment in value, or -1 when absent.
Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.
| Parameter | Meaning |
|---|---|
caseSensitive | Optional parameter. If omitted, the command uses its internal default. |
value = TEXT.INDEX_OF(value, fragment [, caseSensitive])TEXT.LEFT(value,count)
Returns the first N characters.
value = TEXT.LEFT(value,count)TEXT.LEN(value)
Length of the value converted to text.
value = TEXT.LEN(value)TEXT.LINE_COUNT(text)
Counts lines in a text block. Empty text returns 0; both LF and CRLF are supported.
value = TEXT.LINE_COUNT(text)TEXT.LINE_ITEM(text,index)
Returns one zero-based line from a text block. Out-of-range indices return an empty string.
value = TEXT.LINE_ITEM(text,index)TEXT.LOWER(value)
Converts text to lowercase.
value = TEXT.LOWER(value)TEXT.MID(value,start[,count])
Extracts a substring starting at a given position.
Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.
| Parameter | Meaning |
|---|---|
count | Optional parameter. If omitted, the command uses its internal default. |
value = TEXT.MID(value,start[,count])TEXT.REPLACE(value,before,after)
Replaces one substring with another.
value = TEXT.REPLACE(value,before,after)TEXT.RIGHT(value,count)
Returns the last N characters.
value = TEXT.RIGHT(value,count)TEXT.STR(value)
Converts the value to string.
value = TEXT.STR(value)TEXT.TRIM(value)
Removes leading and trailing spaces.
value = TEXT.TRIM(value)TEXT.UPPER(value)
Converts text to uppercase.
value = TEXT.UPPER(value)