Compare two character sequences for being less. In this version both character sequences are by a string.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(string_type), | intent(in) | :: | lhs | |||
| type(string_type), | intent(in) | :: | rhs |
elemental function lt_string_string(lhs, rhs) result(is_lt) type(string_type), intent(in) :: lhs type(string_type), intent(in) :: rhs logical :: is_lt is_lt = rhs > lhs end function lt_string_string