In short, you use it like this:
char buffer[20];
StrCopy (buffer, "Hello, ^1");
TxtReplaceStr (buffer, 20, "World!", 1);
And buffer will end up with "Hello, World!".
-- Keith
P.S. The above code was typed in without testing. It is provided to demonstrate the general idea of using TxtReplaceStr, not the details.
At 9:16 AM +0100 12/12/02, Chris Apers wrote:
I know but don't understand what is 'inParamNum' parameter----- Original Message ----- From: "ScottP" <[EMAIL PROTECTED]> Newsgroups: palm-dev-forum To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Wednesday, December 11, 2002 11:57 PM Subject: Re: TxtReplaceStrChris, What did you want to know aside what is already in the Palm OS Reference document ..? Cheers, Scott "Chris Apers" <[EMAIL PROTECTED]> wrote in message news:104647@palm-dev-forum... >> > Does anyone know how TxtReplaceStr works ?
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/