Re: Testing for a '\' in a string

2005-03-09 Thread Lawrence Statton
> --_=_NextPart_001_01C524BC.E5934C9B > Content-Type: text/plain; > charset="us-ascii" > Content-Transfer-Encoding: quoted-printable > > Hi all, > =20 > I am trying to evaluate a string, and determine if the last charater of > the string has a backslash '\' . The piece of code I am usin

RE: Testing for a '\' in a string

2005-03-09 Thread Bob Showalter
Bret Goodfellow wrote: > Hi all, > > I am trying to evaluate a string, and determine if the last charater > of the string has a backslash '\' . The piece of code I am using > doesn't appear to work. What I've found with this peice of code is > that if the string does contain a \, then the follow

Testing for a '\' in a string

2005-03-09 Thread Bret Goodfellow
Hi all, I am trying to evaluate a string, and determine if the last charater of the string has a backslash '\' . The piece of code I am using doesn't appear to work. What I've found with this peice of code is that if the string does contain a \, then the following code still adds another slash.