replace_all_char_string_string Function

private pure function replace_all_char_string_string(string, pattern, replacement) result(res)

Replaces all occurrences of substring ‘pattern’ in the input ‘string’ with the replacement ‘replacement’ Returns a new string

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: string
type(string_type), intent(in) :: pattern
type(string_type), intent(in) :: replacement

Return Value character(len=:), allocatable


Calls

proc~~replace_all_char_string_string~~CallsGraph proc~replace_all_char_string_string replace_all_char_string_string interface~replace_all replace_all proc~replace_all_char_string_string->interface~replace_all interface~replace_all->proc~replace_all_char_string_string proc~replace_all_char_char_char replace_all_char_char_char interface~replace_all->proc~replace_all_char_char_char proc~replace_all_char_char_string replace_all_char_char_string interface~replace_all->proc~replace_all_char_char_string proc~replace_all_char_string_char replace_all_char_string_char interface~replace_all->proc~replace_all_char_string_char proc~replace_all_string_char_char replace_all_string_char_char interface~replace_all->proc~replace_all_string_char_char proc~replace_all_string_char_string replace_all_string_char_string interface~replace_all->proc~replace_all_string_char_string proc~replace_all_string_string_char replace_all_string_string_char interface~replace_all->proc~replace_all_string_string_char proc~replace_all_string_string_string replace_all_string_string_string interface~replace_all->proc~replace_all_string_string_string proc~compute_lps compute_lps proc~replace_all_char_char_char->proc~compute_lps proc~replace_all_char_char_string->interface~replace_all proc~replace_all_char_string_char->interface~replace_all proc~replace_all_string_char_char->interface~replace_all proc~replace_all_string_char_string->interface~replace_all proc~replace_all_string_string_char->interface~replace_all proc~replace_all_string_string_string->interface~replace_all

Called by

proc~~replace_all_char_string_string~~CalledByGraph proc~replace_all_char_string_string replace_all_char_string_string interface~replace_all replace_all proc~replace_all_char_string_string->interface~replace_all interface~replace_all->proc~replace_all_char_string_string proc~replace_all_char_char_string replace_all_char_char_string interface~replace_all->proc~replace_all_char_char_string proc~replace_all_char_string_char replace_all_char_string_char interface~replace_all->proc~replace_all_char_string_char proc~replace_all_string_char_char replace_all_string_char_char interface~replace_all->proc~replace_all_string_char_char proc~replace_all_string_char_string replace_all_string_char_string interface~replace_all->proc~replace_all_string_char_string proc~replace_all_string_string_char replace_all_string_string_char interface~replace_all->proc~replace_all_string_string_char proc~replace_all_string_string_string replace_all_string_string_string interface~replace_all->proc~replace_all_string_string_string proc~replace_all_char_char_string->interface~replace_all proc~replace_all_char_string_char->interface~replace_all proc~replace_all_string_char_char->interface~replace_all proc~replace_all_string_char_string->interface~replace_all proc~replace_all_string_string_char->interface~replace_all proc~replace_all_string_string_string->interface~replace_all

Source Code

   pure function replace_all_char_string_string(string, pattern, replacement) result(res)
      character(len=*), intent(in) :: string
      type(string_type), intent(in) :: pattern
      type(string_type), intent(in) :: replacement
      character(len=:), allocatable :: res

      res = replace_all(string, char(pattern), char(replacement))

   end function replace_all_char_string_string