Loading...
Searching...
No Matches
join Interface Reference

Definition

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

Remarks

Definition at line 101 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 208 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 229 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 250 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 271 of file path.f90.