Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
now my problem is that I need to put in the value of a variable a name, and this name contains a single quote (example: John D'Oe). How can I do this?
Thank you in advance
Carlo A. Babini
Hi Carlo,
Try something like this after you define your variable - 'John D'&chr(39)&'Oe
Cheers
From the variable dialog, just enter as is.
From the load script the easiest way is to use set, e.g,
SET name=John D'Oe;
If you must use a LET stateement, use chr(39) function to create a single quote character, e.g.,
LET name='John D' & chr(39) & 'Oe';
Hi Carlo,
Try something like this after you define your variable - 'John D'&chr(39)&'Oe
Cheers
Ok, now I understand.
Thank you both