The module utils

Routine

Function

lowercase

Convert string to lowercase

uppercase

Convert string to uppercase

delete_control_chars

Delete control characters in string: All not printable ASCII characters (1-31 and 127) will be removed.

isnumber

Checks if string contains an integer value.

n_numbers

Checks if string consists of n integer values.

bubble_sort

This subroutine sorts the elements of x by size.

bubble_sort_index

This subroutine returns an index array of the order of elements in array x

quick_sort

This subroutine sorts the elements of x by size.

quick_sort_index

This subroutine returns an index array of the order of elements in array x

UtilsLibrary/utils.f90 (last edited 2017-01-26 12:11:47 by NicoleThomas)