StringExtensions.AddLeading Method

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

AddLeading(String, String)

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

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

Parameters

original
System.String
append
System.String

Returns

System.String

A string containing the original and appended string.