Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

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

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/a6724cf3bf9431118525756900697e39.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1