Loading...
Searching...
No Matches
join

Definition

Generic interface for joining two path components Supports all combinations of character and string arguments.

Remarks

Definition at line 102 of file path.f90.


The documentation for this interface was generated from the following file:

Methods

◆ join_character_character()

pure character(:) function, allocatable join_character_character ( character(*), intent(in) path1,
character(*), intent(in) path2 )

Joins two path components with the correct platform separator. Removes duplicate separators and trailing/leading whitespace.

Parameters
[in]path1First path component
[in]path2Second path component
Returns
res Joined path

Remarks

Definition at line 209 of file path.f90.

◆ join_character_string()

pure character(:) function, allocatable join_character_string ( character(*), intent(in) path1,
type(string), intent(in) path2 )

Joins character path with string path component. Removes duplicate separators and trailing/leading whitespace.

Parameters
[in]path1First path component
[in]path2Second path component
Returns
res Joined path

Remarks

Definition at line 230 of file path.f90.

◆ join_string_character()

pure character(:) function, allocatable join_string_character ( type(string), intent(in) path1,
character(*), intent(in) path2 )

Joins string path with character path component. Removes duplicate separators and trailing/leading whitespace.

Parameters
[in]path1First path component
[in]path2Second path component
Returns
res Joined path

Remarks

Definition at line 251 of file path.f90.

◆ join_string_string()

pure character(:) function, allocatable join_string_string ( type(string), intent(in) path1,
type(string), intent(in) path2 )

Joins two string path components. Removes duplicate separators and trailing/leading whitespace.

Parameters
[in]path1First path component
[in]path2Second path component
Returns
res Joined path

Remarks

Definition at line 272 of file path.f90.