Text
Text functions let you perform a variety of different tasks with character data.
For example, you can remove leading or trailing spaces, exclude or include specific characters, isolate just a portion of a character string, or standardize upper or lowercase.
Function descriptions
Function | Description |
---|---|
Returns a string with leading and trailing spaces removed from the input string. |
|
Returns Unicode character data converted from ZONED or EBCDIC character data. Abbreviation for "Binary to String". |
|
Returns a string containing a specified number of blank spaces. |
|
Converts a datetime to a character string. Can also return the current operating system datetime. |
|
Converts an Analytics date value to a Unicode string in the specified language and locale format. Abbreviation for "Date to Unicode". |
|
Returns a string that has been converted to EBCDIC character encoding. |
|
Returns a string that excludes the specified characters. |
|
Returns a string that includes only the specified characters. |
|
Returns the original string with specified text inserted at a specific byte location. |
|
Returns a specified number of characters from the end of a string. |
|
Returns the number of characters in a string. |
|
Returns a string with alphabetic characters converted to lowercase. |
|
Returns a string with leading spaces removed from the input string. |
|
Returns a string with one or more specified substrings removed. |
|
Returns a string with the first character of each word set to uppercase and the remaining characters set to lowercase. |
|
Returns a string that includes only the specified characters. |
|
Returns a string that repeats a substring a specified number of times. |
|
Returns a string with the characters in reverse order. |
|
Returns a right-justified string the same length as a specified string, with any trailing spaces moved to the left of the string. |
|
Returns a specified segment from a string. |
|
Converts a numeric value to a character string. |
|
Returns a specified substring from a string. |
|
Reverses the display order of bi-directional text within a specified string. |
|
Returns a string with trailing spaces removed from the input string. |
|
Returns a string with alphabetic characters converted to uppercase. |
|
Converts numeric data to character data and adds leading zeros to the output. |