StringFunctions.ReplaceFilenameInPath

Replaces the filename in a path with another file name, preserving the path

public static string ReplaceFilenameInPath(string path,
	string newFilename)

Return Value

The passed in path with a new file name

Parameters

path The path and filename of the original path

newFilename the new file name


See also:

Class StringFunctions

© Stonefield Software Inc., 2019 • Updated: 02/12/16
Comment or report problem with topic