Replacing Special Caracters

  • Thread starter Thread starter Fabiano
  • Start date Start date
F

Fabiano

Please,

i got an XML String that contains some special caracters like linefeed, tab
and others. How can i replace this chars?

Can i use an ASCII value at the XXX.replace() method?

Tks in adv.

Fabiano
 
Fabiano said:
i got an XML String that contains some special caracters like linefeed, tab
and others. How can i replace this chars?

You can always use \r, \n, \t etc.
Can i use an ASCII value at the XXX.replace() method?

Well, you can embed specific values with the \uxxxx format, eg \u0041
is 'A' - or you can use String.Replace (char, char).
 
Back
Top