Checks whether a string contains a given substring.
Source position: strutils.pp line 57
function AnsiContainsStr( |
const AText: AnsiString; |
const ASubText: AnsiString |
):Boolean; |
const AText: Unicodestring; |
const ASubText: Unicodestring |
):Boolean; |
AText |
|
String to search in. |
ASubText |
|
The substring to be searched for. |
True if the string contains the given substring, False otherwise.
AText |
|
String to search in. |
ASubText |
|
The substring to be searched for. |
AnsiContainsString checks whether AText contains ASubText, and returns True if this is the case, or returns False otherwise. The search is performed case-sensitive.
None
|
Check whether a string contains a certain substring, ignoring case. |
|
|
Check whether a string ends with a certain substring. |
|
|
Searches, observing case, for a string in an array of strings. |
|
|
Check whether a string starts with a given substring, observing case. |