[Overview][Constants][Types][Procedures and functions] |
Check whether a string starts with a given substring, ignoring case
Source position: strutils.pp line 31
function AnsiStartsText( |
const ASubText: String; |
const AText: String |
):Boolean; |
ASubText |
|
Substring to check for |
AText |
|
String to check in |
Trueif the given string starts with the substring, Falseif not.
AnsiStartsTextchecks ATextto see whether it starts with ASubText, and returns Trueif it does, Falseif not. The check is performed case-insensitive. Basically, it checks whether the position of ASubTextequals 1.
None.
|
Check whether a string ends with a certain substring, ignoring case. |
|
|
Check whether a string starts with a given substring, observing case |
|
|
Searches, case insensitive, for a string in an array of strings. |
|
|
Check whether a string contains a certain substring, ignoring case. |