Loading...
Searching...
No Matches
join

Definition

Join path components using the platform separator.

The generic interface accepts any combination of intrinsic character(*) and string arguments.

Supported overloads:

  • join(character, character)
  • join(character, string)
  • join(string, character)
  • join(string, string)

Examples

character(:), allocatable :: p
p = join('/usr','bin')
! '/usr/bin'
p = join(string('/usr'),'local')
! '/usr/local'

Definition at line 141 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 )

Implementation of join for character arguments.

The generic interface accepts any combination of intrinsic character(*) and string arguments.

Supported overloads:

  • join(character, character)
  • join(character, string)
  • join(string, character)
  • join(string, string)

Examples

character(:), allocatable :: p
p = join('/usr','bin')
! '/usr/bin'
p = join(string('/usr'),'local')
! '/usr/local'

Definition at line 246 of file path.f90.

◆ join_character_string()

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

Implementation of join for character arguments.

The generic interface accepts any combination of intrinsic character(*) and string arguments.

Supported overloads:

  • join(character, character)
  • join(character, string)
  • join(string, character)
  • join(string, string)

Examples

character(:), allocatable :: p
p = join('/usr','bin')
! '/usr/bin'
p = join(string('/usr'),'local')
! '/usr/local'

Definition at line 264 of file path.f90.

◆ join_string_character()

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

Implementation of join for character arguments.

The generic interface accepts any combination of intrinsic character(*) and string arguments.

Supported overloads:

  • join(character, character)
  • join(character, string)
  • join(string, character)
  • join(string, string)

Examples

character(:), allocatable :: p
p = join('/usr','bin')
! '/usr/bin'
p = join(string('/usr'),'local')
! '/usr/local'

Definition at line 282 of file path.f90.

◆ join_string_string()

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

Implementation of join for character arguments.

The generic interface accepts any combination of intrinsic character(*) and string arguments.

Supported overloads:

  • join(character, character)
  • join(character, string)
  • join(string, character)
  • join(string, string)

Examples

character(:), allocatable :: p
p = join('/usr','bin')
! '/usr/bin'
p = join(string('/usr'),'local')
! '/usr/local'

Definition at line 300 of file path.f90.