Finds the starting index of all substrings within a parent string.
Finds the starting index of all substrings within a parent string.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | str |
The string to search. |
||
| character(len=*), | intent(in) | :: | substr |
The substring to search for. |
An array containing the starting index of each occurrence of substr in str.
Finds the starting index of all substrings within a parent string.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | str |
The string to search. |
||
| type(string), | intent(in) | :: | substr |
The substring to search for. |
An array containing the starting index of each occurrence of substr in str.
Finds the starting index of all substrings within a parent string.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(string), | intent(in) | :: | str |
The string to search. |
||
| character(len=*), | intent(in) | :: | substr |
The substring to search for. |
An array containing the starting index of each occurrence of substr in str.
Finds the starting index of all substrings within a parent string.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(string), | intent(in) | :: | str |
The string to search. |
||
| type(string), | intent(in) | :: | substr |
The substring to search for. |
An array containing the starting index of each occurrence of substr in str.