comp.lang.ada
 help / color / mirror / Atom feed
From: Jacob Sparre Andersen <sparre@nbi.dk>
Subject: Re: Using Quotes in Quotes (if you see what I mean)
Date: Fri, 05 Aug 2011 11:14:00 +0200
Date: 2011-08-05T11:14:00+02:00	[thread overview]
Message-ID: <8762mc9q5j.fsf@hugsarin.sparre-andersen.dk> (raw)
In-Reply-To: f0f2f90e-9f19-4b94-9006-5c36160f4bd6@w24g2000yqw.googlegroups.com

tonyg <tonythegair@gmail.com> writes:

> I'm trying to search for a string containing the string "day = "2""
> within some xml using gnat ada. Unfortunately the "2" is causing a
> problem in that ada thinks it is the end of the string before it gets
> to the end. Can someone tell me how I need to represent this to search
> successfully ?

You look up how to write string literals in the LRM.  (It might be in
section 2.6.)

Greetings,

Jacob
-- 
The secret is to bang the rocks together.



  reply	other threads:[~2011-08-05  9:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-05  7:15 Using Quotes in Quotes (if you see what I mean) tonyg
2011-08-05  9:14 ` Jacob Sparre Andersen [this message]
2011-08-11 23:10 ` Shark8
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox