Hi there,
i actualley try a quiet simple thing.
From a given path like "c:\temp\test.doc"
i like to extract only the File BaseName "test" without the extension.
I there an Macro i can use. I found StringRegExpReplace(). Pherhaps you know how to use it.
i tried this so far:
$filebasename = StringRegExpReplace($sFile, '^.*\\', '')
$filebasename = StringRegExpReplace($Font, '\.[^.]*\Z', '')
This seems to work. is there an easier way ??