Skip to content

Latest commit

 

History

History
69 lines (43 loc) · 2.52 KB

Assorted.Utils.Text.StringExtensions.SubstringAfterLast.md

File metadata and controls

69 lines (43 loc) · 2.52 KB

StringExtensions.SubstringAfterLast Method

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.

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.

Syntax

public static string SubstringAfterLast(this string source, char value)

Parameters

source: string
The source string.

value: char
A Unicode character to seek.

Return Value

string
A substring of the original string if the value is found; otherwise, null.

See Also

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.

Syntax

public static string SubstringAfterLast(this string source, string value)

Parameters

source: string
The source string.

value: string
A string to seek.

Return Value

string
A substring of the original string if the value is found; otherwise, null.

See Also


This document is generated by DG.