AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

StringExtensions..::..Right Method

Returns the right part of the string instance.

Namespace:  AdvantageCMS.Core.Common
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public static string Right(
	this string input,
	int count
)

Parameters

input
Type: String
The input.
count
Type: Int32
Number of characters to return.

Return Value

System.String.

Examples


C#
string ext = "document.pdf".Right(3); // returns "pdf"