StringExtensions.AddTrailing Method

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

AddTrailing(string, string)

Appends a string after the text if it does not already exist.

public static string AddTrailing(this string original, string append)

Parameters

original
string

Required. The string expression to append to.

append
string

The string to append.

Returns

string

A string containing the original and appended string.