[program-java] Re: Java: Escape Sequence

  • From: "Corbett, James" <James.Corbett@xxxxxxxxxxxxx>
  • To: "'program-java@xxxxxxxxxxxxx'" <program-java@xxxxxxxxxxxxx>
  • Date: Thu, 14 Oct 2010 15:41:07 -0400

Steve:

Tried this in my string but it just printed it as though it were part of the 
string.

pstar-d.caption.022=Unrecoverable GST &amp; fed part of HST

-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx 
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Steve Meacham
Sent: October 14, 2010 15:34
To: program-java@xxxxxxxxxxxxx
Subject: [program-java] Re: Java: Escape Sequence

&amp;


On Thu, Oct 14, 2010 at 2:31 PM, Corbett, James <James.Corbett@xxxxxxxxxxxxx> 
wrote:



        Hi:

        ...back to the resource file again. I'm trying to print the ampersand 
symbol (&) to a screen but it's coming up weird. Does anyone know the Escape 
Sequence for this character?

        Jim

        James M. Corbett

        Programmer / Analyst |
        Canada Revenue Agency | Agence du revenue du Canada
        875 Heron Rd.
        Ottawa, On.
        K1A0L5

        James.Corbett@xxxxxxxxxxxxx
        Telephone | Téléphone: (613) 941-1338
        Facsimile | Télécopieur: (613) 941-2261

        Government of Canada | Gouvernement du Canada






--


Steve Meacham

+1 (202) 455-8732
routes all calls and text messages to me


Other related posts: