Topic complex |
String functions |
Function |
pos() |
Short |
Acquires the first incidence of a substring in a string |
Syntax |
POS(Teilstr, Str : STRING) : INTEGER |
Parameter |
substr, Str : any strings |
Return |
0, if substr is not included in Str
else position of the first according character. |
See also: |
|
Description |
Examples:
POS('ei','Meier') -> 2
POS('Huber','Meier') -> 0
POS('Meier','Meier') -> 1
|
Write a comment:
|