[Overview][Constants][Types][Procedures and functions] |
Search for the occurance of a character in a string, starting at a certain position.
Source position: line 0
function PosEx( |
const SubStr: String; |
const S: String; |
Offset: Cardinal |
):Integer; |
const SubStr: String; |
const S: String |
):Integer; |
c: Char; |
const S: String; |
Offset: Cardinal |
):Integer; |
SubStr |
|
String to search for. |
S |
|
String to search. |
Offset |
|
Initial position where to start searching. |
Position of the character, or 0 if it is not found.
SubStr |
|
String to search for. |
S |
|
String to search. |
Position of the character, or 0 if it is not found.
c |
|
Character to search for. |
S |
|
String to search. |
Offset |
|
Initial position where to start searching. |
Position of the character, or 0 if it is not found.
PosExreturns the position of the first occurrence of the character Cor the substring SubStrin the string S, starting the search at position Offset(default 1). If Cor SubStrdoes not occur in Safter the given Offset, zero is returned. The position Offset is also searched.
None.
|
Returns the position of the N-th occurence of a substring in a string. |
|
|
Check whether a string contains a certain substring, ignoring case. |
|
|
Checks whether a string contains a given substring |