Double Quotes (OpenInsight 32-Bit)
At 26 FEB 2009 02:12:15PM Charles Steadham wrote:
Hello,
I am trying to include the double quote character into a string and am unfamiliar with RBASIC or BASIC+'s way to do so. In other languages I have seen "" be representative as a double quote as well as \" but neither seem to work in OI programs. How do I accomplish this? Thanks!
At 26 FEB 2009 02:55PM John Bouley wrote:
'"'
char(34)
\22\
hth,
John
At 26 FEB 2009 02:56PM Mike Ruane wrote:
Charles-
There is the QUOTE function, which surrounds a string with double-quotes.
You could also use the CHAR(xx), function. I think that double quotes are CHAR(34).
Mike
At 26 FEB 2009 06:46PM Colin Rule wrote:
To put a double-quote in a string, use single quotes for the string.
For example
STRING=this is a double quote " character'
or break it into two
STRING=this is a double quote ":char(?):" character"
Colin