StringExtensions.RemoveLeading Method

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

RemoveLeading(String, String, NullableComparison>)

Removes leading text from a string.

public static string RemoveLeading(this string original, string leading, StringComparison? comparisonType = default(StringComparison? ))

Parameters

original
System.String
leading
System.String
comparisonType
System.Nullable{System.StringComparison}

Returns

System.String

A string with the leading text removed.