StringExtensions.RemoveTrailingSlash Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

RemoveTrailingSlash(string)

Removes trailing slash from a string.

public static string RemoveTrailingSlash(this string original)

Parameters

original
string

The string to remove from.

Returns

string

A string the trailing slash removed.