Flashnux

GNU/Linux man pages

Livre :
Expressions régulières,
Syntaxe et mise en oeuvre :

ISBN : 978-2-7460-9712-4
EAN : 9782746097124
(Editions ENI)

GNU/Linux

CentOS 4.8

i386

lsamen(l)


LSAMEN

LSAMEN

NAME
SYNOPSIS
PURPOSE
ARGUMENTS

NAME

LSAMEN - test if the first N letters of CA are the same as the first N letters of CB, regardless of case

SYNOPSIS

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.



lsamen(l)