fabien van mook

all packages "fvm-*"

package "fvm-miscellaneous"

function file "fullfilename.m"

Function ffn = fullfilename(fs,directory,filename)

returns the full file name, for the given 
directory and file name.

The given file separator is the target file
separator, by which possibly other file separators
in the given directory and file name are replaced.
Double file separators are replaced by a single 
instance.

E.g. 
  fullfilename("/","abc\\def\\","/text.txt")
results in:
  "abc/def/text.txt"
and, note that an empty third argument
  fullfilename("/","abc\\def","")
results in:
  "abc/def/"


(c) 2026 fabien van mook

2026.08.20 release of this file within package "fvm-miscellaneous" under GNU GPLv3+