Tests two character strings for equality regardless of case.
val = lsamen(n, ca, cb)
The FORTRAN 77 interfaces are specified in the mkl_lapack.fi include file (to be used in Fortran programs) and in the mkl_lapack.h include file (to be used in C programs).
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.
Copyright © 1994 - 2011, Intel Corporation. All rights reserved.