Namespace: Assorted.Utils.Text
Assembly: Assorted.Utils (Assorted.Utils.dll) version 1.1.0.0
Overload | Description |
---|---|
SubstringAfterLast(this string, char) | Retrieves a substring from this instance. The substring starts after the last occurrence of a specified Unicode character and continues to the end of the string. |
SubstringAfterLast(this string, string) | Retrieves a substring from this instance. The substring starts after the last occurrence of a specified string and continues to the end of the string. |
Retrieves a substring from this instance. The substring starts after the last occurrence of a specified Unicode character and continues to the end of the string.
public static string SubstringAfterLast(this string source, char value)
source
: string
The source string.
value
: char
A Unicode character to seek.
string
A substring of the original string if the value
is found; otherwise, null
.
Retrieves a substring from this instance. The substring starts after the last occurrence of a specified string and continues to the end of the string.
public static string SubstringAfterLast(this string source, string value)
source
: string
The source string.
value
: string
A string to seek.
string
A substring of the original string if the value
is found; otherwise, null
.
This document is generated by DG.