Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2019-05

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

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

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

Reply by email

Michael Van Canneyt
to Dennis
Dennis wrote 10 lines
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.

Reply by email