StringExtensions.RightAfterLast Method

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

Overloads

RightAfterLast(String, String, Int32, NullableComparison>) Returns a string containing every character within a string after the last occurrence of another string.
RightAfterLast(String, String, NullableComparison>) Returns a string containing every character within a string after the last occurrence of another string.

RightAfterLast(String, String, Int32, NullableComparison>)

Returns a string containing every character within a string after the last occurrence of another string.

public static string RightAfterLast(this string original, string search, int startIndex, StringComparison? comparisonType = default(StringComparison? ))

Parameters

original
System.String
search
System.String
startIndex
System.Int32
comparisonType
System.Nullable{System.StringComparison}

Returns

System.String

A string containing every character within the original string after the last occurrence of the search string.

RightAfterLast(String, String, NullableComparison>)

Returns a string containing every character within a string after the last occurrence of another string.

public static string RightAfterLast(this string original, string search, StringComparison? comparisonType = default(StringComparison? ))

Parameters

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

Returns

System.String

A string containing every character within the original string after the last occurrence of the search string.