RAD Studio VCL Reference
|
Performs a case sensitive search for substring ASubText in string AText. Returns true if one or more instances of ASubText exist in AText.
function ContainsStr(const AText: string; const ASubText: string): Boolean;
Boolean ContainsStr(const AnsiString AText, const AnsiString ASubText);
For a case insensitive search, use the ContainsText routine.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|