Public Member Functions | |
| integer function | index_ofs (string, start, substr) |
Definition at line 175 of file dc_string.f90.
| integer function dc_string::index_ofs::index_ofs | ( | character(len = *), intent(in) | string, |
| integer, intent(in) | start, | ||
| character(len = *), intent(in) | substr | ||
| ) |
Find substring position with offset
Returns the starting position where substr is found in string, searching from position start. Returns 0 if not found. The returned position is counted from the beginning of string.
| [in] | string | String to search in |
| [in] | start | Starting position for search |
| [in] | substr | Substring to find |
Definition at line 1611 of file dc_string.f90.