RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
StrUtils.AnsiContainsStr Function

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

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

StrUtils

AnsiContainsStr returns true if the string specified by ASubText appears as a substring of the string specified by AText. Comparison is performed case-sensitively. 

 

AnsiResemblesText 

AnsiStartsStr 

AnsiEndsStr 

AnsiCompareStr 

Pos 

StringReplace 

AnsiContainsText

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