Compare two character sequences for being greater or equal. In this version the left-hand side character sequences is by a string.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(string_type), | intent(in) | :: | lhs | |||
| character(len=*), | intent(in) | :: | rhs |
elemental function ge_string_char(lhs, rhs) result(is_ge) type(string_type), intent(in) :: lhs character(len=*), intent(in) :: rhs logical :: is_ge is_ge = .not. (rhs > lhs) end function ge_string_char