#6 Problem with ReplaceString

open
nobody
Strings (5)
7
2013-01-15
2003-02-11
Anonymous
No

Exported from Bugzilla, issue 3847.

--- Comment added on 9/16/2002 2:11:05 PM ---
Customer Reports:

Subject:Problems with StStrL
Date:Tue, 23 Jul 2002 10:23:50 +0100

...the ReplaceStringL routine seems to be doing strange things unless I am
misunderstanding what it is suppose to do. ie with the following code I
would expect a dialog box to appear saying "hello hello", but instead it
says "helxxo exxo".

i: = 1;
ShowMessage(ReplaceStringL('hexxo hexxo', 'x', 'l', 4, i));

Discussion