Table of Contents

Method TrimEndDirectorySeparator

Namespace
Alternet.UI
Assembly
Alternet.UI.Interfaces.dll

TrimEndDirectorySeparator(string?)

Removes a DirectorySeparatorChar and AltDirectorySeparatorChar characters from the end of the specified string.

public static string? TrimEndDirectorySeparator(string? path)

Parameters

path string

Path to be trimmed.

Returns

string

Trimmed string.