Hi, Thank you very much for the reply.
But if I want to get the last three number or the mid numbers of the string, in CASL,I can use the right or mid function. How can I accomplish this? Thanks in advance. Susan "Danny Wong" <[EMAIL PROTECTED]> wrote in message news:110991@palm-dev-forum... > > hi, > > you can use StrNCopy() function. > > Char * StrNCopy(Char *dst, const Char *src, Int16 n) > > eg: > > char *dest = NewPtrNew(10); > StrNCopy(dest, "ABC123", 3); > > dest will contain "ABC" > > regards, > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]]On Behalf Of Susan > > Sent: Tuesday, January 28, 2003 8:53 PM > > To: Palm Developer Forum > > Subject: About the string function.!! > > > > > > Hi,All > > > > Now I want to get the first three numbers from a string. > > > > In CASL,I can use the left function(left(string,3)),Does CW have such > > functions? > > > > Thanks! > > > > Susan > > > > > > > > -- > > For information on using the Palm Developer Forums, or to > > unsubscribe, please see http://www.palmos.com/dev/support/forums/ > > > > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
