I have a value 'ABC' in my table and I want want to convert it into ASCII value.
How can this be done?
My output should be: 656667
Use the ASC() function. However, I believe it performs on 1 character at a time. So you'll have to loop through your string.
lcString = "ABC"
lcOutput = ""
FOR I = 1 TO LEN(lcString)
lcOutput = lcOutput + ASC( SUBSTR(lcString, I, 1) ) &&Out puts the ascii value.
ENDFOR