Next: INT, Previous: IERRNO, Up: Intrinsic Procedures
INDEX — Position of a substring within a stringRESULT = INDEX(STRING, SUBSTRING [, BACK [, KIND]])
| STRING | Shall be a scalar CHARACTER, with
INTENT(IN)
|
| SUBSTRING | Shall be a scalar CHARACTER, with
INTENT(IN)
|
| BACK | (Optional) Shall be a scalar LOGICAL, with
INTENT(IN)
|
| KIND | (Optional) An INTEGER initialization
expression indicating the kind parameter of the result.
|
INTEGER and of kind KIND. If
KIND is absent, the return value is of default integer kind.