Public Function CombinePrefixAndExtension( _ ByVal vPrefix As Variant _ , ByVal vExtension As Variant _ ) As Variant
CombinePrefixAndExtension("", "") = "" CombinePrefixAndExtension("", "INI") = ".INI" CombinePrefixAndExtension("", ".INI") = ".INI" CombinePrefixAndExtension("WIN", "") = "WIN" CombinePrefixAndExtension("WIN", "INI") = "WIN.INI" CombinePrefixAndExtension("WIN", ".INI") = "WIN.INI" CombinePrefixAndExtension("WIN.", "") = "WIN" CombinePrefixAndExtension("WIN.", "INI") = "WIN.INI" CombinePrefixAndExtension("WIN.", ".INI") = "WIN.INI"See also:
CombineDriveAndPath Function CombinePathAndFile Function SeparatePrefixAndExtension FunctionvPrefix: The prefix portion of the file name--everything to the left of the extension (if any extension). Function returns Null if vPrefix is Null or cannot be fixed-up to a string.
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.