Thanks much for the MemMove answer.  I knew there had to be an easy way.  Us
newbies can sometimes get stumped by the simplest things, even when it's
staring us in the face.

Dave

Philip Sheard <[EMAIL PROTECTED]> wrote in message
news:41113@palm-dev-forum...
>
> > > The string is formatted as DDMMYY.
> > [snip]
> > > I also need to know if it is Y2K compliant.
>
> > DDMMYY is not normally considered Y2K compliant.
>
> It made me laugh, too. This should do the trick, though:
>
> Char src[7] = "280201", dst[9] = "xx/xx/xx";
>
> MemMove(dst, src, 2);
> MemMove(dst + 3, src + 2, 2);
> MemMove(dst + 6, src + 4, 2);
>
>
>



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