Tests two character strings for equality regardless of case.
val = lsamen(n, ca, cb)
This logical function tests if the first n letters of the string ca are the same as the first n letters of cb, regardless of case. The function lsamen returns .TRUE. if ca and cb are equivalent except for case and .FALSE. otherwise. lsamen also returns .FALSE. if len(ca) or len(cb) is less than n.
INTEGER. The number of characters in ca and cb to be compared.
CHARACTER*(*). Specify two character strings of length at least n to be compared. Only the first n characters of each string will be accessed.
LOGICAL. Result of the comparison.