[Lazarus] Comparing strings case-insensitive and ignoring accents

Marc Weustink marc at dommelstein.nl
Sun May 20 19:39:41 CEST 2018



On May 20, 2018 4:06:42 AM GMT+02:00, "Marcos Douglas B. Santos via Lazarus" <lazarus at lists.lazarus-ide.org> wrote:
>Hi,
>
>Is there any (fast) built-in function in RTL or LCL that compare two
>strings using case-insensitive and ignoring accents?
>
>These strings are UTF-8.

For comparing case insensitive strings you can use SameText(). Don't know if there is a function to strip accents.

Marc
>



More information about the Lazarus mailing list