You can try simple pointer tricks like:
char* pText = "hello world";
pText = \0;
/* That would effectively "delete" the string;*/
/* assert(strlen(pText) == 0); */
you could also use MemSet();
MemSet(pText, StrLen(pText), 0);
Farzin Ashraghi <[EMAIL PROTECTED]> wrote in message
news:18889@palm-dev-forum...
>
> Hi!
>
> I'm trying to delete a "char" variable using:
> StrCopy(charP, "");
> where charP is the pointer to that char, but it doesn't work.
>
> Could you help me please,
> Farzin
>
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/