> 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'.

That's probably just the debugger showing you the value of the string as
you'd enter it into a C program.

> 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)'.

Perhaps it was just a typo, but one has a space and the other doesn't.

If you're using CodeWarrior, set a breakpoint in your comparison function.
When you hit it, view each of the two strings as arrays. Then you can see,
byte for byte, how they compare.
--
Danny @ Palm

-- 
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