CODEW

CODEW returns the UTF-8 numeric code for a specified character within a string.

This function is valid in both TM1® rules and TurboIntegrator processes.

Syntax

CODEW(string, location)

Argument

Description

string

A text string.

location

A number specifying the character within the string for which you want to find the UTF-8 code value.

Example

CODEW('321', 2) returns 32.

CODEW('End', 3) returns 64.