Skip to main content

GetFileParts

This routine returns the path, filename, and extension from the supplied path of the file.

Interface

INTERFACE
MODULE PURE SUBROUTINE getFileParts(chars, path, fname, ext)
CHARACTER(*), INTENT(IN) :: chars
CHARACTER(*), INTENT(OUT) :: path
CHARACTER(*), INTENT(OUT) :: fname
CHARACTER(*), INTENT(OUT) :: ext
END SUBROUTINE getFileParts
END INTERFACE