These forums were permanently set to read-only mode on July 20, 2022. From that day onwards, no new posting or comment is allowed on the site, but the historical content remains intact and searchable.

A new location for posting questions about PlanetPress Suite is now available:

OL Learn - PlanetPress Classic (opens in new tab)

Topic Options
#55908 - 04/20/18 07:10 PM ASCII conversion of String ??
ricks Offline
OL Guru

Registered: 04/17/10
Posts: 101
Loc: Seattle
Is there a function that is the opposite of CHAR().

I have a string, I want that ASCII value.

Something like VAL("A") return 65 (or whatever an A really is).

#55909 - 04/21/18 01:11 PM Re: ASCII conversion of String ?? [Re: ricks]
Jean-Cédric Offline
OL Expert

Registered: 10/03/16
Posts: 681
Loc: Québec, Canada
Use the PressTalk function ORD().
99 frigging bugs in my code
99 frigging bugs
Take one down
Code around
127 frigging bugs in my code