Lexically compare two character sequences for being greater. In this version the right-hand side character sequences is by a string.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | lhs | |||
| type(string_type), | intent(in) | :: | rhs |
elemental function lgt_char_string(lhs, rhs) result(is_lgt) character(len=*), intent(in) :: lhs type(string_type), intent(in) :: rhs logical :: is_lgt is_lgt = lgt(lhs, maybe(rhs)) end function lgt_char_string