Compare two character sequences for inequality. 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 ne_char_string(lhs, rhs) result(is_ne) character(len=*), intent(in) :: lhs type(string_type), intent(in) :: rhs logical :: is_ne is_ne = lhs > rhs if (.not. is_ne) then is_ne = rhs > lhs end if end function ne_char_string