replace_all_string_char_char Function

private pure function replace_all_string_char_char(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
character(len=*), intent(in) :: pattern
character(len=*), intent(in) :: replacement

Return Value type(string_type)


Calls

proc~~replace_all_string_char_char~~CallsGraph proc~replace_all_string_char_char replace_all_string_char_char interface~replace_all replace_all proc~replace_all_string_char_char->interface~replace_all interface~replace_all->proc~replace_all_string_char_char 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_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_char_string_string->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_string_char_char~~CalledByGraph proc~replace_all_string_char_char replace_all_string_char_char interface~replace_all replace_all proc~replace_all_string_char_char->interface~replace_all interface~replace_all->proc~replace_all_string_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_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_char_string_string->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_string_char_char(string, pattern, replacement) result(res)
      type(string_type), intent(in) :: string
      character(len=*), intent(in) :: pattern
      character(len=*), intent(in) :: replacement
      type(string_type) :: res

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

   end function replace_all_string_char_char