| instr | |
| ACTION: |
returns position of String2 within string1 searching from start position
|
| USE: |
location=instr(string1,string2) : location=instr(start,string1,string2)
|
| EXAMPLE: |
p=instr("abcdef abcdef","def") : q=instr(8,"abcdef abcdef","def")
|
| RESULT: |
p=4 : q=11 |
| REMARKS: |
also works with untyped pointers |
| RELATED: |
replace
mid
|