RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
StrUtils.AnsiContainsText Function

Indicates whether one string is a (case-insensitive) substring of another.

Pascal
function AnsiContainsText(const AText: string; const ASubText: string): Boolean;
C++
Boolean AnsiContainsText(const AnsiString AText, const AnsiString ASubText);

StrUtils

AnsiContainsText returns true if the string specified by ASubText appears as a substring of the string specified by AText. Comparison is performed case-insensitively and based on the current system locale. 

 

AnsiResemblesText 

AnsiStartsText 

AnsiEndsText 

AnsiCompareText 

Pos 

StringReplace 

AnsiContainsStr

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