Progress V9.1 on Windows XP and HP-UX 11.
I have a string with the tilde "~" character embedded in it.
Example:
"12345678~0011~001"
The "~001" is a delimiter that separates 2 values ("12345678" and "1"). This string is passed into a program that needs to parse these 2 values out and use them in a message statement.
The problem is, no matter what I try, I can't "locate" the tilde in the string. I've tried index, lookup, can-do and replace, using both CHR(126) (the ASCII value of ~) and "~~". Nothing works.
If the string read "12345678~~0011~~001", I can successfully parse out the values. But, since I can't find "~" in the string, I can't add the extra "~" needed to parse the string.
Any ideas?!
PS: Does anyone else think that Progress' new version of the Knowledge Base (now Knowledge Center) sucks?
I have a string with the tilde "~" character embedded in it.
Example:
"12345678~0011~001"
The "~001" is a delimiter that separates 2 values ("12345678" and "1"). This string is passed into a program that needs to parse these 2 values out and use them in a message statement.
The problem is, no matter what I try, I can't "locate" the tilde in the string. I've tried index, lookup, can-do and replace, using both CHR(126) (the ASCII value of ~) and "~~". Nothing works.
If the string read "12345678~~0011~~001", I can successfully parse out the values. But, since I can't find "~" in the string, I can't add the extra "~" needed to parse the string.
Any ideas?!
PS: Does anyone else think that Progress' new version of the Knowledge Base (now Knowledge Center) sucks?