error in https://www.freepascal.org/docs-html/rtl/strutils/ansiindextext.htm

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

error in https://www.freepascal.org/docs-html/rtl/strutils/ansiindextext.htm

Dennis
I believe the red text below (in the url on the subject line) should be
AnsiIndexText instead of AnsiIndexStr.


    Description

AnsiIndexStr matches AText against each string in AValues . If a match
is found, the corresponding index (zero-based) in the AValues array is
returned. If no match is found, -1 is returned. The strings are matched
ignoring case.



Dennis
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: error in https://www.freepascal.org/docs-html/rtl/strutils/ansiindextext.htm

Michael Van Canneyt



On Wed, 8 May 2019, Dennis wrote:

> I believe the red text below (in the url on the subject line) should be
> AnsiIndexText instead of AnsiIndexStr.
>
>
>    Description
>
> AnsiIndexStr matches AText against each string in AValues . If a match
> is found, the corresponding index (zero-based) in the AValues array is
> returned. If no match is found, -1 is returned. The strings are matched
> ignoring case.

Thanks for pointing it out. Fixed in rev. 1604.

Michael.
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal