Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(string), | intent(in) | :: | lhs | Left hand side. |
||
character(kind=CK,len=*), | intent(in) | :: | rhs | Right hand side. |
Opreator test result.
Lower than to character logical operator.
elemental function string_lt_character(lhs, rhs) result(is_it)
!---------------------------------------------------------------------------------------------------------------------------------
!< Lower than to character logical operator.
!---------------------------------------------------------------------------------------------------------------------------------
class(string), intent(in) :: lhs !< Left hand side.
character(kind=CK, len=*), intent(in) :: rhs !< Right hand side.
logical :: is_it !< Opreator test result.
!---------------------------------------------------------------------------------------------------------------------------------
!---------------------------------------------------------------------------------------------------------------------------------
is_it = lhs%raw < rhs
return
!---------------------------------------------------------------------------------------------------------------------------------
endfunction string_lt_character