join Interface

public interface join

Function for joining a vector of tokens into a scalar character or String.

For a user reference, see join.


Functions

private pure recursive module function join_char(tokens, separator) result(new)

Arguments

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

Return Value character(len=:), allocatable

private pure recursive module function join_string(tokens, separator) result(new)

Arguments

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

Return Value type(String)