Nuno Basto wrote in message <5741@palm-dev-forum>...
>
>I'm using StrNCaselessCompare to compare two strings but if the strings
>don't start in the same way the strings don't match.
>
>Like comparing "asdf" with "sdf" using length 3 doesn't match.
>
>How can I solve this?
>
If you put an 'a' in the front of the second string they will match.
What you are describing is how the function works. The StrXxxCompare
functions are supposed to tell you whether the strings match or do not.
"asdf" does not match "sdf". What is to "solve"?
--
-Richard M. Hartman
[EMAIL PROTECTED]
186,000 mi/sec: not just a good idea, it's the LAW!
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html