2007 Nov 22 8:41 AM
Hi expert,
How can i check the character ' when i doing a string compare?
pls guide,
thanks.
2007 Nov 22 8:48 AM
u have to use the symbol 4 times . like - ''''
or declare constant
constant c_quote type c value ''''.
Hi expert,
How can i check the character ' when i doing a string compare?
pls guide,
thanks.
2007 Nov 22 8:45 AM
Hi,
You need to wrap it in the ` sign.
e.g.
IF w_field CS `'`.
On my keyboard this is on a key next to the number 1, but this could be different on different country's keyboards.
Regards,
Nick
2007 Nov 22 8:48 AM
u have to use the symbol 4 times . like - ''''
or declare constant
constant c_quote type c value ''''.
2007 Nov 22 8:50 AM
2007 Nov 22 8:58 AM
While I'm by no means a point hunter, can you clarify if you think my suggestion was incorrect, or if you preferred the second suggestion for some other reason?
Thanks,
Nick
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |