On Mon, 16 Jul 2007 15:07:47 -0400, Terry Bootsma wrote: As a general rule: You need a quoted string - so start with a " If you need a quote double the number you did last time "" close quotes use the opposite rule.
So a quoting a string with a quote containing a quote would be (extra spaces for clarity) " I am a string that has "" a quote inside and a """" quote inside that """" "" " You often need this in *nix scripts where the string may be parsed more than once through the shell for example. HTH >I've done this several times using the following technique: > >Create a display only field... call it "_Quote". Set the default value to >the quotation mark. > >On active link firing do the following > >action1 - set _Quote to it's default value. > >action 2 - Use the set fields action such as $_Quote$ + "hello" + $_Quote$ > >Works for me all the time... > >Terry > > >-----Original Message----- >From: Action Request System discussion list(ARSList) >[mailto:[EMAIL PROTECTED] Behalf Of Andrew Hicox >Sent: Monday, July 16, 2007 2:16 PM >To: arslist@ARSLIST.ORG >Subject: how to escape quotes in setfield action ? > > >Everyone: > >I've got an active link with a set fields action. >I need to set a string containing quotes into a char field. > >For the sake of brevity, let's just say I need to set the string: >"hello" (including the quotes) into a char field. > >I can't figure out how to escape the quotes in the set fields action. >\" dosen't seem to work, nor "\ or \\". > >I can't find a thing in the documentation on this. >Can anyone help me ? > >thanks, > >-Andrew > > >Andrew N. Hicox >Hicox Information Systems LLC >Manassas, VA USA >http://hicox.com >[EMAIL PROTECTED] >703-367-9085 > >____________________________________________________________________________ >___ >UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the >Answers Are" > >_______________________________________________________________________________ >UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the >Answers Are" > -- Regards Dave Saville _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the Answers Are"