comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Escaping Quotes
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Escaping Quotes [message #44534 is a reply to message #44529] Mon, 20 June 2005 23:53 Go to previous messageGo to previous message
Antonio Santiago is currently offline  Antonio Santiago
Messages: 201
Registered: February 2004
Senior Member
Michael Wallace wrote:

> I am having a brain cramp right now and can't even remember the simplest
> of IDL. How do you escape quotes given that you want both single and
> double quotes to appear in the string?
>
> '"This string doesn't work"'
>
> Naturally, I tried using the standard slash-style escaping you find in
> other languages, but to no avail.
>
> -Mike

What about escape with quote ??

print, '"This string doesn''t work ??"'

bye ;)
--
-----------------------------------------------------
Antonio Santiago P�rez
( email: santiago<<at>>grahi.upc.edu )
( www: http://www.grahi.upc.edu/santiago )
( www: http://asantiago.blogsite.org )
-----------------------------------------------------
GRAHI - Grup de Recerca Aplicada en Hidrometeorologia
Universitat Polit�cnica de Catalunya
-----------------------------------------------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: How to calculate the curve area?
Next Topic: converting bytarr into strarr

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 12:44:55 PDT 2025

Total time taken to generate the page: 0.08043 seconds