Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Strings with quotation marks 1

Status
Not open for further replies.

agorjest

Technical User
Oct 23, 2007
51
US
Using CR2008. Having a problem writing a formula that includes strings with quotation marks within the string. For instance:

{workorder.description} like ["unit B", "unit/B", "Unit "B""]

The last one has the text "B" in quotations within the string. CR interprets it as a quotation mark in crystal syntax. Anyone know a way around this?

Thanks
 
Try using single quotes around the array elements, leaving the "" in 'Unit "B"'.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top