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

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

Contents


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

NAME    [Toc]    [Back]

     ADJUSTR - Adjusts a character string to the right

SYNOPSIS    [Toc]    [Back]

     ADJUSTR ([STRING=]string)

IMPLEMENTATION    [Toc]    [Back]

     UNICOS, UNICOS/mk,	and IRIX systems

STANDARDS    [Toc]    [Back]

     Fortran 90

DESCRIPTION    [Toc]    [Back]

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

     string    Must be of type character

     ADJUSTR 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 trailing
     blanks have been deleted and the same number of leading blanks have
     been inserted.

EXAMPLES    [Toc]    [Back]

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

     Example 1:

	  VAR =	ADJUSTR( 'WORD^^' )
	  PRINT	*,"VAR='", VAR,"'"
     This code segment returns the following output:

	  VAR='^^WORD'

     Example 2:

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

     This code returns the following output:

	  >^^^TEST STRING FOR ADJUSTR^^^<
	  >^^^^^^TEST STRING FOR ADJUSTR<

SEE ALSO    [Toc]    [Back]

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

NAME    [Toc]    [Back]

     ADJUSTR - Adjusts a character string to the right

SYNOPSIS    [Toc]    [Back]

     ADJUSTR ([STRING=]string)

IMPLEMENTATION    [Toc]    [Back]

     UNICOS, UNICOS/mk,	and IRIX systems

STANDARDS    [Toc]    [Back]

     Fortran 90

DESCRIPTION    [Toc]    [Back]

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

     string    Must be of type character

     ADJUSTR 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 trailing
     blanks have been deleted and the same number of leading blanks have
     been inserted.

EXAMPLES    [Toc]    [Back]

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

     Example 1:

	  VAR =	ADJUSTR( 'WORD^^' )
	  PRINT	*,"VAR='", VAR,"'"
     This code segment returns the following output:

	  VAR='^^WORD'

     Example 2:

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

     This code returns the following output:

	  >^^^TEST STRING FOR ADJUSTR^^^<
	  >^^^^^^TEST STRING FOR ADJUSTR<

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
adjustl IRIX Adjusts a character string to the left
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)
wcsrtombs FreeBSD convert a wide-character string to a character string (restartable)
mbsrtowcs FreeBSD convert a character string to a wide-character string (restartable)
mbstowcs NetBSD converts a multibyte character string to a wide character string
wcstombs NetBSD converts a wide character string to a multibyte character string
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