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
string

Required. String expression from where a slash is added.

Returns

string

A string containing a trailing slash.