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

  man pages->IRIX man pages -> f90/adjustl (3)              
Title
Content
Arch
Section
 

Contents


ADJUSTL(3I)					       Last changed: 2-5-98

NAME    [Toc]    [Back]

     ADJUSTL - Adjusts a character string to the left

SYNOPSIS    [Toc]    [Back]

     ADJUSTL ([STRING=]string)

IMPLEMENTATION    [Toc]    [Back]

     UNICOS, UNICOS/mk,	and IRIX systems

STANDARDS    [Toc]    [Back]

     Fortran 90

DESCRIPTION    [Toc]    [Back]

     The ADJUSTL intrinsic function adjusts a character	string to the left,
     removes leading blanks, and inserts trailing blanks.  It accepts the
     following argument:

     string    Must be of type character

     ADJUSTL is	an elemental function.	The name of this intrinsic cannot
     be	passed as an argument.

RETURN VALUES    [Toc]    [Back]

     The result	is type	character with the same	length as string.

     The value of the result is	the same as string, except that	any leading
     blanks have been deleted and the same number of trailing blanks have
     been inserted.

EXAMPLES    [Toc]    [Back]

     In	the following examples,	a carat	(^) indicates a	blank.

     Example 1:

	  CHARACTER*6 VAR
	  VAR =	ADJUSTL( '^^WORD' )
	  PRINT	*,"VAR='", VAR,"'"

     This code segment produces	the following output:

	  VAR='WORD^^'

     Example 2:

		CHARACTER*29 STRING
		STRING = '^^^TEST STRING FOR ADJUSTL^^^'
		WRITE(6,1) '>',	STRING,	'<'
		WRITE(6,1) '>',	ADJUSTL(STRING), '<'
	  1	FORMAT(3A)
		END

     This code returns the following output:

	  >^^^TEST STRING FOR ADJUSTL^^^<
	  >TEST	STRING FOR ADJUSTL^^^^^^<

SEE ALSO    [Toc]    [Back]

      
      
     Intrinsic Procedures Reference Manual, publication	SR-2138, for the
     printed version of	this man page.
ADJUSTL(3I)					       Last changed: 2-5-98

NAME    [Toc]    [Back]

     ADJUSTL - Adjusts a character string to the left

SYNOPSIS    [Toc]    [Back]

     ADJUSTL ([STRING=]string)

IMPLEMENTATION    [Toc]    [Back]

     UNICOS, UNICOS/mk,	and IRIX systems

STANDARDS    [Toc]    [Back]

     Fortran 90

DESCRIPTION    [Toc]    [Back]

     The ADJUSTL intrinsic function adjusts a character	string to the left,
     removes leading blanks, and inserts trailing blanks.  It accepts the
     following argument:

     string    Must be of type character

     ADJUSTL is	an elemental function.	The name of this intrinsic cannot
     be	passed as an argument.

RETURN VALUES    [Toc]    [Back]

     The result	is type	character with the same	length as string.

     The value of the result is	the same as string, except that	any leading
     blanks have been deleted and the same number of trailing blanks have
     been inserted.

EXAMPLES    [Toc]    [Back]

     In	the following examples,	a carat	(^) indicates a	blank.

     Example 1:

	  CHARACTER*6 VAR
	  VAR =	ADJUSTL( '^^WORD' )
	  PRINT	*,"VAR='", VAR,"'"

     This code segment produces	the following output:

	  VAR='WORD^^'

     Example 2:

		CHARACTER*29 STRING
		STRING = '^^^TEST STRING FOR ADJUSTL^^^'
		WRITE(6,1) '>',	STRING,	'<'
		WRITE(6,1) '>',	ADJUSTL(STRING), '<'
	  1	FORMAT(3A)
		END

     This code returns the following output:

	  >^^^TEST STRING FOR ADJUSTL^^^<
	  >TEST	STRING FOR ADJUSTL^^^^^^<

SEE ALSO    [Toc]    [Back]

      
      
     Intrinsic Procedures Reference Manual, publication	SR-2138, for the
     printed version of	this man page.
[ Back ]
 Similar pages
Name OS Title
adjustr IRIX Adjusts a character string to the right
mbsrtowcs NetBSD converts a multibyte character string to a wide character string (restartable)
wcsrtombs NetBSD converts a wide character string to a multibyte character string (restartable)
mbstowcs NetBSD converts a multibyte character string to a wide character string
mbsrtowcs FreeBSD convert a character string to a wide-character string (restartable)
wcstombs NetBSD converts a wide character string to a multibyte character string
wcsrtombs FreeBSD convert a wide-character string to a character string (restartable)
dts_update HP-UX Gradually adjusts the clock on the local node to the specified time
fold_string_w Tru64 maps one wide-character string to another, performing the specified Unicode character transformation
XmTextFieldInsert HP-UX A TextField function that inserts a character string into a text string
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service