I am trying to compare a couple of strings and am getting some odd results.
1.) I have a drop down list with some text in it, one word has an apostrophe
in it. Like 'Isn't'. When I grab the text from the control and pass it to my
compare function, in the debugger is see it displayed as 'Isn\'t'. Of course
this fails the StrCaselessCompare because the word I am comparing it to
comes from a database and is passed in as 'Isn't'. Any suggestions as how I
can get the \ out of the control text or how to get these two to compare?
2.) Also with StrCaselessCompare, maybe related to above, I have a string
with
parentheses in it like 'Cars (Ford)', but when I do a compare with a passed
in string, from my db, it fails even though the passed in string is
identical, 'Cars(Ford)'.
Does this have something to do with the parentheses? Any suggestions?

Thanks
Carl



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to