Module containing some string routines. More...
Data Types | |
interface | num2str |
Public Member Functions | |
character(len=len(string)) function | lower (string) |
character(len=len(string)) function | upper (string) |
logical function | strcmp (str1, str2) |
Compare 2 strings. | |
character(len=10) function | int2str (i) |
integer function | str2int (txt) |
character(len=20) function | numr2str (r) |
character(len=30) function | numd2str (r) |
real function | str2num (txt) |
subroutine | strfind (txt, form, ind) |
Find a string (form) into another string (txt). | |
subroutine | strrep (txt, form1, form2) |
real function, dimension(5) | char2real (x) |
character(len=20) function | real2char (x) |
integer function | count_word (x, delimit) |
Returns the number of strings separated by a delimiter. | |
character(len=len_name) function | dirname (path) |
Return directory of a path. | |
character(len=len_name) function | basename (path) |
Return basename of a path. | |
subroutine | strsplit (txt, delimiter, str_array) |
Split a string from a delimiter into an array. | |
Module containing some string routines.