Menus.AnsiSameCaption

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From Menus.pas

	function AnsiSameCaption(const Text1: string; const Text2: string): Boolean;


Unit: Menus

Type: function

Visibility: public

C++ Information

From Menus.hpp

	bool __fastcall AnsiSameCaption(System::UnicodeString Text1, System::UnicodeString Text2);


Unit: Menus

Type: function

Description

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


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.

See Also

Personal tools
Translations
Newest Version