->AREA:HOME_OFFICE
->MSGID: 1:250/333 5d89006a
->TID: GE 1.11+
->AN> I have a question regarding strings. Since strings must be enclosed
->AN> with ' marks (eg: City := 'Windsor';), how would you go about
->AN> one that has a 'mark in it such as (eg) Steven's Birthday Party?
->AN> (Steven is the name of my 5 year old son). I know the following
->AN> does NOT work - Party := 'Steven's Birthday';
->AN> Now, the following may have to do - Party := 'Steven`s Birthday';
->AN> if there's no way around this.
First, why is this in Home Office? Second, if you are using Pascal, you need
to use a double apostrophe in the string. Correctly formatted this would
be Party := 'Steven''s Birthday';
--- WILDMAIL!/WC v4.12
---------------
* Origin: TumbleWeed BBS Now offers Internet @tumbleweed.com (1:10/777.1)
|