Intel® oneAPI Math Kernel Library Developer Reference - Fortran
Tests two character strings for equality regardless of the case.
val = lsamen( n, ca, cb )
Name |
Type |
Description |
---|---|---|
n |
INTEGER |
The number of characters in ca and cb to be compared. |
ca, cb |
CHARACTER*(*) |
Character strings of length at least n to be compared. Only the first n characters of each string will be accessed. |
This logical function tests whether the first n letters of one string are the same as the first n letters of the other string, regardless of the case.
Name |
Type |
Description |
---|---|---|
val |
LOGICAL |
Result of the comparison:
|