join Interface

public interface join

Joins an array of strings into a single string. The chunks are separated with a space, or an optional user-defined separator.

Calls

interface~~join~~CallsGraph interface~join join proc~join_char join_char interface~join->proc~join_char proc~join_string join_string interface~join->proc~join_string interface~move move proc~join_string->interface~move proc~move_char_char move_char_char interface~move->proc~move_char_char proc~move_char_string move_char_string interface~move->proc~move_char_string proc~move_string_char move_string_char interface~move->proc~move_string_char proc~move_string_string move_string_string interface~move->proc~move_string_string

Module Procedures

private pure function join_string(strings, separator)

Joins a list of strings with a separator (default: space). Returns a new string

Arguments

Type IntentOptional Attributes Name
type(string_type), intent(in) :: strings(:)
character(len=*), intent(in), optional :: separator

Return Value type(string_type)

private pure function join_char(strings, separator) result(joined)

Joins a list of strings with a separator (default: space). Returns a new string

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: strings(:)
character(len=*), intent(in), optional :: separator

Return Value character(len=:), allocatable