I had done a Google search on "StrStr" and found a little example like what
Vu Pham posted.

Thanks for the help,
D. Kirker

P.S. How could I delete the character at the offset found with StrStr and
all the characters to the end of the string?

"Ben Combee" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> At 07:33 PM 4/4/2004, you wrote:
> >How do I find the offset of a character (or string) in a string and
return
> >it as an int?
>
> Hint #1: Read the String Manager chapter of the Palm OS SDK reference.
> Hint #2: Think of how you would do it using the standard C library, then
> look for similar functions.
>
> -- Ben Combee, senior DTS engineer, PalmSource, Inc.
>     Read "Combee on Palm OS" at http://palmos.combee.net/
>
>
>



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

Reply via email to