A utility to help with parsing and reformating strings.
Looks for a time token in the ES12.4 format in the input string
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | str |
Input string |
Logical switch; true if string has time
Returns a string of a time value formatted to ES12.4.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | Time |
Time |
Returned string with formatted time
Removes file extension from filename while preserving time in scientific notation and dots in paths.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | filename |
File name |
Returned string with extension removed
Removes path from filename.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | filename |
File name |
Returned string with path removed
type :: stringtool_obj !> A utility to help with parsing and reformating strings. contains procedure, nopass :: RemoveExtension => stringtool_obj_RemoveExtension procedure, nopass :: RemovePath => stringtool_obj_RemovePath procedure, nopass :: FormatTime => stringtool_obj_FormatTime procedure, nopass :: ContainsTime => stringtool_obj_ContainsTime end type stringtool_obj