In general, imbedding a quotation mark in a quote is accomplished by
doubling the quote character:
:setvar mystring "L'esprit ""test"" vacances"
:showvar mystring
MYSTRING = L'esprit "test" vacances
-----Original Message-----
From: Richard Barker [mailto:[log in to unmask]]
Sent: Wednesday, January 09, 2002 8:54 AM
To: [log in to unmask]
Subject: Command file quotes question
Has anyone out there come up with a solution to this:
When examining character strings in MPE, how do people get around the
potential extra quote problem, for example:
ADDR = "L'ESPRIT "TEST" VACANCES"
SETVAR TEST,STR("!ADDR",11,6)
SETVAR TEST,STR("L'ESPRIT "TEST" VACANCES ",11,6)
^
A string operator was expected but none was found. (CIERR 9755)
or in other cases you will get an unmatched quote mark.
I've written a simple routine in Qedit to remove all quotes, but is there
another way, using just MPE commands, without using a text editor.
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|