Re: Trying to remove "\" from a string
From: Curt_C [MVP] (software_AT_darkfalz.com)
Date: 07/07/04
- Next message: Curt_C [MVP]: "Re: Browser Compatability"
- Previous message: WStoreyII: "Browser Compatability"
- In reply to: Robert_at_Rob.com: "Trying to remove "\" from a string"
- Next in thread: George: "Re: Trying to remove "\" from a string"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 7 Jul 2004 15:09:40 -0500
use
\\
Escape the escape char
-- Curt Christianson Owner/Lead Developer, DF-Software Site: http://www.Darkfalz.com Blog: http://blog.Darkfalz.com <Robert@Rob.com> wrote in message news:JZ-dnU__eKkoy3HdRVn-tA@giganews.com... > Hello. > > I have tried to remove the char "\" from a string that I am building in > codebehind. > to be used in a script tag. > > I have tried adding (char)34 to the string instead of the escape character, > as well as @then double quotes. > when i watch the string in the command window or the watch window it has the > escape character in the string allways \" > I have tried to use replace.. but you cant replace a escape character, I > tryed establishing a char variable as (char)92 > > My question is how the heck can I build a string without an escape character > around the quotes ? > > Thanks, > Rob
- Next message: Curt_C [MVP]: "Re: Browser Compatability"
- Previous message: WStoreyII: "Browser Compatability"
- In reply to: Robert_at_Rob.com: "Trying to remove "\" from a string"
- Next in thread: George: "Re: Trying to remove "\" from a string"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|