"John" <Jo**@nospam.infovis.co.uk> wrote in message news:<41*********************@news-text.dial.pipex.com>...
How can I replace characters like carriage return and double quotes from
strings?
In Access 2000 and newer use the Replace() function.
Carriage returns can be referenced as vbCr but more likely you want to
deal with Window's CrLf pair so you should use the vbCrLf constant to
remove new line/line breaks:
sUpdatedString = Replace(sSomeString, vbCrlf, "")
here replacing a hex \0x13, \0x10 pair (CR-LF) with an empty string.
'---------------
' John Mishefske
'---------------