StringFunctions.AddSuffixToFileName

Adds a suffix to the specified filename, before the extension.

public static string AddSuffixToFileName(string path,
	string suffix)

Return Value

The filename with the suffix.

Parameters

path
The filename to add the suffix to.

suffix
The suffix to add.

Remarks

One use for this is to add a timestamp to a filename.


See also:

Class StringFunctions