dm_string_replace Subroutine

public subroutine dm_string_replace(str, a, b)

Replaces character a in str with b.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(inout) :: str

String to parse.

character(len=1), intent(in) :: a

Character to replace.

character(len=1), intent(in) :: b

Substitute character.