[Overview][Constants][Types][Procedures and functions] | Reference for unit 'strutils' (#rtl) |
Check whether a string starts with a given substring, observing case
Source position: strutils.pp line 42
function AnsiStartsStr( |
const ASubText: String; |
const AText: String |
):Boolean; |
ASubText |
|
Substring to check for |
AText |
|
String to check in |
True if the given string starts with the substring, False if not.
AnsiStartsStr checks AText to see whether it starts with ASubText , and returns True if it does, False if not. The check is performed case-sensitive. Basically, it checks whether the position of ASubText equals 1.
|
Check whether a string ends with a certain substring |
|
|
Check whether a string starts with a given substring, observing case |
|
|
Searches, observing case, for a string in an array of strings. |
|
|
Checks whether a string contains a given substring |
No notes exist for this page yet.