*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> complib/lsamen (3)              
Title
Content
Arch
Section
 

Contents


LSAMEN(3F)							    LSAMEN(3F)


NAME    [Toc]    [Back]

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

SYNOPSIS    [Toc]    [Back]

     LOGICAL FUNCTION LSAMEN( N, CA, CB	)

	 CHARACTER*(  *	) CA, CB

	 INTEGER      N

PURPOSE    [Toc]    [Back]

     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    [Toc]    [Back]

     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(3F)							    LSAMEN(3F)


NAME    [Toc]    [Back]

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

SYNOPSIS    [Toc]    [Back]

     LOGICAL FUNCTION LSAMEN( N, CA, CB	)

	 CHARACTER*(  *	) CA, CB

	 INTEGER      N

PURPOSE    [Toc]    [Back]

     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    [Toc]    [Back]

     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.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
banner HP-UX make posters in large letters
banner OpenBSD print strings in large letters
getopt Tru64 Get option letters from the argument vector
islower OpenBSD lower-case character test
islower FreeBSD lower-case character test
isupper OpenBSD upper-case character test
isupper FreeBSD upper-case character test
isupper NetBSD upper-case character test
islower NetBSD lower-case character test
towlower FreeBSD upper case to lower case letter conversion (wide character version)
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service