Ah now I think I understand your question. Do you mean string.Replace(@"\n", "\n")?
HTH // Ryan On 12/5/05, Jon Jagger <[EMAIL PROTECTED]> wrote: > Ryan Heath wrote: > > >Do you mean string.Replace("\r\n", "\n")? > > > > > No. > > >// Ryan > > > >On 12/5/05, Jon Jagger <[EMAIL PROTECTED]> wrote: > > > > > >>For example, suppose I have read \ and n from a file as a string > >>containing two chars. Is there an API to help me to convert this string > >>into a string containing the single \n character? (of course I'd like it > >>to handle all the escape char possibilities) > >>Thanks > >>Jon Jagger > >> > >>=================================== > >>This list is hosted by DevelopMentor(r) http://www.develop.com > >> > >>View archives and manage your subscription(s) at http://discuss.develop.com > >> > >> > >> > > > >=================================== > >This list is hosted by DevelopMentor(r) http://www.develop.com > > > >View archives and manage your subscription(s) at http://discuss.develop.com > > > > > > > > =================================== > This list is hosted by DevelopMentor(r) http://www.develop.com > > View archives and manage your subscription(s) at http://discuss.develop.com > =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com