lsamen(3lapack)

lsamen3lapack

Tests if the first n letters of ca are the same as the first n letters of cb, regardless of case

Usage

LOGICAL FUNCTION

LSAMEN( N, CA, CB )

CHARACTER*(

* ) CA, CB

INTEGER

N

Purpose

LSAMEN tests if the first N letters of CA are the same as the first N letters of CB, regardless of case. 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.

Arguments

N (input) INTEGER

The number of characters in CA and CB to be compared.

CA (input) CHARACTER*(*)

CB (input) CHARACTER*(*) CA and CB specify two character strings of length at least N. Only the first N characters of each string will be accessed.

From liblapack-doc 3.2.1-8 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.