Page 1 of 1

function opposite Char()

Posted: Mon Nov 07, 2016 9:33 am
by EP_explorer
I want to know Codes of symbols in string.

Can you say function which can do it.

For example if I write
str1=Char(65);
I receive str1='A'

What should I write to recieve
z=Function?('A');
z=65

Re: function opposite Char()

Posted: Mon Nov 07, 2016 9:36 am
by qml
The function you're looking for is CODE.

Re: function opposite Char()

Posted: Mon Nov 07, 2016 9:37 am
by Alan Kirk
EP_explorer wrote:I want to know Codes of symbols in string.

Can you say function which can do it.

For example if I write
str1=Char(65);
I receive str1='A'

What should I write to recieve
z=Function?('A');
z=65

Did you look through the Reference Guide, which should be your first port of call for information relating to functions?
TM1 Reference Guide, Rules Functions, Text Rules Functions wrote:CODE returns the ASCII numeric code for a specified character within a string.

Re: function opposite Char()

Posted: Mon Nov 07, 2016 9:58 am
by EP_explorer
Thank you