[Overview][Constants][Types][Procedures and functions] |
Checks whether a string contains a given substring
Source position: strutils.pp line 41
function AnsiContainsStr( |
const AText: String; |
const ASubText: String |
):Boolean; |
AText |
|
String to search in |
ASubText |
|
The substring to be searched for |
Trueif the string contains the given substring, Falseotherwise
AnsiContainsStringchecks whether ATextcontains ASubText, and returns Trueif this is the case, or returns Falseotherwise. 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 |