[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Extract only numbers of a string

  • Thread starter Thread starter Laura Stern
  • Start date Start date
Status
Not open for further replies.
L

Laura Stern

Guest
Of course in straight ABL, you convert a numeric string to a number using the INTEGER function, Here you have a string with a number in it so you have to use SUBSTRING. You can find where the number is if you need to by walking through the chars and checking the value using I think the HEX function. Why are you trying to use .Net to do this?. Because you can do it in one statement? I don’t believe you can do that from the ABL. “Where” is not a string method. It seems to be a language construct. Similarly, Char only resolves to the successive character in the string because it is used within the Where.

Continue reading...
 
Status
Not open for further replies.
Back
Top