Hi,
This is regarding character substitution in a string variable under b4A.
Doubt 1:
I want to perform the following steps on a string.
This String has, among other characters, many occurrences of CHR(171), CHR(191) and CHR(172)
1) Replace all occurrences of CHR(171) with "" i.e. Double QUotes
2) Replace all occurrences of CHR(191) [i.e. inverted Question mark symbol]
with CHR(172)
3) Replace all occurrences of CHR(172) with ' (i.e. single quote)
And the operations have to be performed in the above order.
Doubt 2:
How to assign the 'transformed string' as per above sequence to a label control in b4A ?
I mean, do I have to put any escape sequences for all the single quotes and the double quotes that will result from the above sequence of transformations ? Requesting for showing by an example.
Thanks..
This is regarding character substitution in a string variable under b4A.
Doubt 1:
I want to perform the following steps on a string.
This String has, among other characters, many occurrences of CHR(171), CHR(191) and CHR(172)
1) Replace all occurrences of CHR(171) with "" i.e. Double QUotes
2) Replace all occurrences of CHR(191) [i.e. inverted Question mark symbol]
with CHR(172)
3) Replace all occurrences of CHR(172) with ' (i.e. single quote)
And the operations have to be performed in the above order.
Doubt 2:
How to assign the 'transformed string' as per above sequence to a label control in b4A ?
I mean, do I have to put any escape sequences for all the single quotes and the double quotes that will result from the above sequence of transformations ? Requesting for showing by an example.
Thanks..