Investment Studio > Expressions > Functions > Text > CODE

integer code(string argument)

Returns the ANSI code for the first characted in the argument string. The ANSI code range is [0, 255].

Example

=code("All time high")

and

=code("A")

both equal 65.

See also char.