CODE
CODE returns the ASCII numeric code for a specified character within a string.
This function is valid in both TM1® rules and TurboIntegrator processes.
Syntax
CODE(string, location)
Argument |
Description |
---|---|
string |
A text string. |
location |
A number specifying the character within the string for which you want to find the ASCII code value. |
Example
CODE('321', 2) returns 50.
CODE('End', 3) returns 100.