Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 11 JUN 2002 11:13:10AM Steve Brettler wrote:

I am writting a symbolic field that concatenates some fields together with some text strings. I need to have both " and ' (single and double quotes) in these strings and canot figure out how to do it.

I have tried surrounding the quote characters within quotes like this (" " ") to get a single quote to output but that doesnt seem to work.

Steve


At 11 JUN 2002 11:30AM Don Miller - C3 Inc. wrote:

Here's a sample:

@ANS='

@ANS:="':"'":VARIABLE:"'":'"'

THIS WILL LOOK LIKE:

"'variablestuff'" .. single-double quotes mixed. The trick is to surround a double-quote with single-quotes and single-quotes with double quotes. This is almost always necessary when you are constructing R/LIST sentences .. HEADING "'F' PRINTED ON 'DS5'Page 'P'" .. this would be done: CMD:=HEADING "':"'":"PRINTED ON 'DS5':Page 'P'":'"'

HTH

Don Miller

C3 Inc.


At 11 JUN 2002 01:55PM Steve Brettler wrote:

Thanks Don:

That should set me on the road forward.

Steve


At 11 JUN 2002 02:18PM Dave Harmacek wrote:

For heading statements I like: X= HEADING ": QUOTE("This allows me to have newline 'L' and page 'P'")

You can also use CHAR( decimal), for quote CHAR( 34)

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/8d53db34e023db1385256bd500539aac.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1