Compare two character sequences for being less or equal 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 le_char_string(lhs, rhs) result(is_le) character(len=*), intent(in) :: lhs type(string_type), intent(in) :: rhs logical :: is_le is_le = .not. (lhs > rhs) end function le_char_string