replace_all_string_string_string Function

private pure function replace_all_string_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
type(string_type), intent(in) :: string
type(string_type), intent(in) :: pattern
type(string_type), intent(in) :: replacement

Return Value type(string_type)


Calls

proc~~replace_all_string_string_string~~CallsGraph proc~replace_all_string_string_string replace_all_string_string_string interface~replace_all replace_all proc~replace_all_string_string_string->interface~replace_all interface~replace_all->proc~replace_all_string_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_char_string_string replace_all_char_string_string interface~replace_all->proc~replace_all_char_string_string 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~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_char_string_string->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

Called by

proc~~replace_all_string_string_string~~CalledByGraph proc~replace_all_string_string_string replace_all_string_string_string interface~replace_all replace_all proc~replace_all_string_string_string->interface~replace_all interface~replace_all->proc~replace_all_string_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_char_string_string replace_all_char_string_string interface~replace_all->proc~replace_all_char_string_string 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_char_char_string->interface~replace_all proc~replace_all_char_string_char->interface~replace_all proc~replace_all_char_string_string->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

Source Code

   pure function replace_all_string_string_string(string, pattern, replacement) result(res)
      type(string_type), intent(in) :: string
      type(string_type), intent(in) :: pattern
      type(string_type), intent(in) :: replacement
      type(string_type) :: res

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

   end function replace_all_string_string_string