Character-handling routines

The routines in this section provide various facilities for manipulating objects of Fortran CHARACTER type.

ALLOCSTR@

Allocates dynamic storage and copies a string.

APPEND_STRING@

Adds a string to the end of a line.

CENTRE@

Positions a string in the centre of a field.

CHAR_FILL@

Fills a string with a particular character.

CHSEEK@

Looks for a given string in an ordered array.

CNUM

Converts an integer to character form.

COMPRESS@

Compresses a string by using tabs.

GETSTR@

Gets a string that was stored using ALLOCSTR@.

LCASE@

Alters a character argument so that all letters become lower case.

NONBLK

Obtains the position of the first character that is not a space.

SAYINT

Returns an integer argument as text.

TRIM@

Removes leading spaces.

TRIMR@

Rotates a character string right until there are no trailing spaces.

UPCASE@

Alters a character argument so that all letters become upper case.

 

See also: Standard Fortran 95 string operations

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited