Page 1 of 1

ReplaceString

Posted: Tue Feb 27, 2007 3:37 pm
by techjunkie
This is maybe petty, but it bugs me. Can't sleep at night! :wink:

A small doc (IMHO) enhancement;

Change,

Code: Select all

String$ = ReplaceString(String$, StringToFind$, StringToReplace$ [, Mode [, StartPosition]])
to

Code: Select all

String$ = ReplaceString(String$, StringToFind$, StringToReplaceWith$ [, Mode [, StartPosition]])
or even better... :wink:

Code: Select all

ResultString$ = ReplaceString(OriginalString$, StringToFind$, StringToReplaceWith$ [, Mode [, StartPosition]])

Posted: Tue Feb 27, 2007 3:48 pm
by techjunkie
Well, and why not an "EndPosition" parameter;

Code: Select all

ResultString$ = ReplaceString(OriginalString$, StringToFind$, StringToReplaceWith$ [, Mode [, StartPosition [, EndPosition]]])