Re: Adding quotes to a string variable

2002-01-07 Thread John W. Krahn
Steven Brooks wrote: > > On Monday 07 January 2002 03:16 am, you wrote: > > You have two options: > > > > Option one: Put the string between single quotes $a = '"Test Test Test"'; > > > > Option two: $a = q("Test Test Test"); > > > > Regards > > Robert Graham > > Well, there are other options.

RE: Adding quotes to a string variable

2002-01-07 Thread John
$a = "\"TEST TEST TEST\""; print "$a"; Prints: "TEST TEST TEST" The quotes are part of the string stored in the variable -Original Message- From: Hubert Ian M. Tabug [mailto:[EMAIL PROTECTED]] Sent: Monday, January 07, 2002 3:02 AM To: Perl Subject: Adding quotes to a string variable H

Re: Adding quotes to a string variable

2002-01-07 Thread Steven Brooks
On Monday 07 January 2002 03:16 am, you wrote: > You have two options: > > Option one: Put the string between single quotes $a = '"Test Test Test"'; > > Option two: $a = q("Test Test Test"); > > Regards > Robert Graham Well, there are other options. Not that they are better, but they are option

RE: Adding quotes to a string variable

2002-01-07 Thread Robert Graham
You have two options: Option one: Put the string between single quotes $a = '"Test Test Test"'; Option two: $a = q("Test Test Test"); Regards Robert Graham -Original Message- From: Hubert Ian M. Tabug [mailto:[EMAIL PROTECTED]] Sent: 07 January 2002 12:02 To: Perl Subject: Adding quot