RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Menus.AnsiSameCaption Function

Indicates whether two strings are the same based on the current locale, ignoring case information and accelerator characters.

Pascal
function AnsiSameCaption(const Text1: string; const Text2: string): Boolean;
C++
Boolean AnsiSameCaption(const AnsiString Text1, const AnsiString Text2);

Menus

AnsiSameCaption compares Text1 to Text2, without case sensitivity and ignoring any ampersands (&) that are included to create accelerator characters. The compare operation is controlled by the current locale. The return value is true if the two strings have the same value, false otherwise. 

 

StringReplace 

IsAccel 

AnsiSameText 

WideSameCaption

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!