|
MONC
|
String utility functionality that is commonly used throughout MONC. More...
Functions/Subroutines | |
| subroutine, public | replace_character (str, src_char, tgt_char) |
| Replaces all occurances of a character in a string with another character. More... | |
String utility functionality that is commonly used throughout MONC.
| subroutine, public string_utils_mod::replace_character | ( | character(len=*), intent(inout) | str, |
| character, intent(in) | src_char, | ||
| character, intent(in) | tgt_char | ||
| ) |
Replaces all occurances of a character in a string with another character.
| str | The string to replace characters in (this is modified) |
| src_char | The source character to look for, which will be replaced |
| tgt_char | What to replace source characters with |
Definition at line 16 of file string_utils.F90.
