[fpc-devel] Re: Bug in StrUtils.ReplaceStr and ReplaceText

Anton Kavalenka anton.k at tut.by
Tue Mar 26 19:30:25 CET 2013


On 26.03.2013 16:57, Juha Manninen wrote:

> True. They just call AnsiReplaceStr and AnsiReplaceText, without setting Result.
> A workaround is to use the Ansi... functions.
>
> This bug has maybe been there forever, unless somebody decided to
> remove the "Result := " part, which would be odd.
>
> Juha
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
r21810 joost 7.7.2012

* Added ReplaceStr and ReplaceText functions, for Delphi compatibility


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20130326/f6131751/attachment.html>


More information about the fpc-devel mailing list