strcmp(3F)
NAME
lge, lgt, lle, llt − string comparison intrinsic functions
SYNOPSIS
character∗Ma1
character∗Na2
logicall l = lge (a1,a2) -- tests for lexical greater-than or equal-to
l = lgt (a1,a2) -- tests for lexical greater-than
l = lle (a1,a2) -- tests for lexical less-than or equal-to
l = llt (a1,a2) -- tests for lexical less-than
DESCRIPTION
These functions return .TRUE. if the lexical inequality holds and .FALSE. otherwise. If the arguments are not of the same length, then the shorter argument is assumed to be appended with blanks to give it the same length as the longer argument.
CX/UX Hf77 Fortran Reference Manual