Compare two character sequences for being greater. 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 gt_string_string(lhs, rhs) result(is_gt) type(string_type), intent(in) :: lhs type(string_type), intent(in) :: rhs logical :: is_gt is_gt = maybe(lhs) > maybe(rhs) end function gt_string_string