Delphi - Differences between CompareStr and CompareString

Posted by Bourgui on Stack Overflow See other posts from Stack Overflow or by Bourgui
Published on 2010-03-19T00:33:42Z Indexed on 2010/03/19 0:41 UTC
Read the original article Hit count: 251

Filed under:
|
|

Hi all,

I'm hoping someone can shed some light on this for me> What are the differences, in Delphi 2009, between the CompareStr (defined in SysUtils) and CompareString (from Windows API) functions?

Both let you specify the locale to be used, is the Windows one simply more "complete", due to the available comparison flags? Is one consequently faster than the other?

Thanks!

© Stack Overflow or respective owner

Related posts about delphi

Related posts about string