(git:34ef472)
string_utilities.F File Reference

Go to the source code of this file.

Modules

module  string_utilities
 Utilities for string manipulations.
 

Functions/Subroutines

elemental integer function, public string_utilities::typo_match (string, typo_string)
 returns a non-zero positive value if typo_string equals string apart from a few typos. It is case sensitive, apart from typos. More...
 
pure character(len=size(array)) function, public string_utilities::a2s (array)
 Converts a character-array into a string. More...
 
subroutine, public string_utilities::ascii_to_string (nascii, string)
 Convert a sequence of integer numbers (ASCII code) to a string. Blanks are inserted for invalid ASCII code numbers. More...
 
subroutine, public string_utilities::compress (string, full)
 Eliminate multiple space characters in a string. If full is .TRUE., then all spaces are eliminated. More...
 
subroutine, public string_utilities::integer_to_string (inumber, string)
 Converts an integer number to a string. The WRITE statement will return an error message, if the number of digits of the integer number is larger the than the length of the supplied string. More...
 
subroutine, public string_utilities::string_to_ascii (string, nascii)
 Convert a string to sequence of integer numbers. More...
 
subroutine, public string_utilities::remove_word (string)
 remove a word from a string (words are separated by white spaces) More...
 
character(len=2 *len(inp_string)) function, public string_utilities::substitute_special_xml_tokens (inp_string)
 Substitutes the five predefined XML entities: &, <, >, ', and ". More...
 
elemental subroutine, public string_utilities::uppercase (string)
 Convert all lower case characters in a string to upper case. More...
 
elemental subroutine, public string_utilities::xstring (string, ia, ib)
 ... More...
 
elemental logical function, public string_utilities::str_comp (str1, str2)
 ... More...
 
elemental logical function, public string_utilities::is_whitespace (testchar)
 returns .true. if the character passed is a whitespace char. More...
 
elemental subroutine, public string_utilities::strip_control_codes (string)
 Strip control codes and extended characters from a string, i.e. replace them with blanks. More...
 
integer function, public string_utilities::strlcpy_c2f (fstring, cstring)
 Copy the content of a \0-terminated C-string to a finite-length Fortran string. More...
 

Variables

character(len=1), parameter, public string_utilities::newline = ACHAR(10)