Scans the string for any of the characters in the specified substring.
Scans the string for any of the characters in the specified substring.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(string), | intent(in) | :: | str |
The string to search. |
||
| type(string), | intent(in) | :: | substr |
The string for which to search. |
||
| logical, | intent(in), | optional | :: | back |
leftmost character; else, if true, the rightmost position is returned. |
The index of either the leftmost or rightmost character.
Scans the string for any of the characters in the specified substring.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(string), | intent(in) | :: | str |
The string to search. |
||
| character(len=*), | intent(in) | :: | substr |
The string for which to search. |
||
| logical, | intent(in), | optional | :: | back |
leftmost character; else, if true, the rightmost position is returned. |
The index of either the leftmost or rightmost character.
Scans the string for any of the characters in the specified substring.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | str |
The string to search. |
||
| type(string), | intent(in) | :: | substr |
The string for which to search. |
||
| logical, | intent(in), | optional | :: | back |
leftmost character; else, if true, the rightmost position is returned. |
The index of either the leftmost or rightmost character.