RAD Studio VCL Reference
|
Test if subtext is found in text with case-sensitivity.
function ContainsStr(const AText: AnsiString; const ASubText: AnsiString): Boolean;
Boolean ContainsStr(const AnsiString AText, const AnsiString ASubText);
ContainsStr returns true if the subtext is found, with case-sensitivity, in the given text and returns false otherwise. It supports multi-byte character strings (MBCS) AnsiStrings.
Use ContainsText to make this test without case-sensitivity.
This function is the same as AnsiContainsStr.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|