I just found something that bugged me. The PalmOS String Manager function
StrStr differs from the C standard in how it handles empty strings.
PalmOS StrStr(string, "") returns NULL
The ANSI C strstr(string, "") returns string
I hope this difference is noted in future versions of the documentation.
Right now, no empty string behavior is specified for StrStr.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
- Re: StrStr -- not like C99's strstr Ben Combee
- Re: StrStr -- not like C99's strstr Steve Sabram
- Re: StrStr -- not like C99's strstr Adam Wozniak
