Click or drag to resize

FilePathRemovePathSuffix Method

Makes sure path is not suffixed with DirectorySeparatorChar or AltDirectorySeparatorChar.

Namespace: GSF.IO
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.323-beta+aefb8e4393da7a2a0171af4e5d5d8668dbbc75f1
Syntax
public static string RemovePathSuffix(
	string filePath
)
View Source

Parameters

filePath  String
The file path to be unsuffixed.

Return Value

String
Unsuffixed path.
See Also