StringExtensions.AddTrailingSlash Method

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

AddTrailingSlash(String)

Adds a slash after the text if it does not already exist.

public static string AddTrailingSlash(this string original)

Parameters

original
System.String

Returns

System.String

A string containing a trailing slash.