Recent

Author Topic: SameStr function error in docs?  (Read 759 times)

Raskaton

  • New Member
  • *
  • Posts: 19
SameStr function error in docs?
« on: October 07, 2024, 04:25:03 pm »
Hi.

SysUtils.SameStr docs said "case-insensitive", but this is wrong!
https://www.freepascal.org/docs-html/rtl/sysutils/samestr.html

SameStr - must be "case-sensitive" (CompareStr is case-sensitive!),
SameText - is case-insensitive.

Just found bug in my programm becouse of this :(
If someone can path this, please do.

Thaddy

  • Hero Member
  • *****
  • Posts: 18300
  • Here stood a man who saw the Elbe and jumped it.
Re: SameStr function error in docs?
« Reply #1 on: October 07, 2024, 04:36:36 pm »
Correct, file a bug against the documentation.
Due to censorship, I changed this to "Nelly the Elephant". Keeps the message clear.

Bart

  • Hero Member
  • *****
  • Posts: 5609
    • Bart en Mariska's Webstek
Re: SameStr function error in docs?
« Reply #2 on: October 07, 2024, 05:57:51 pm »

 

TinyPortal © 2005-2018