StringExtensions.Right Method
- Namespace:
- Weavy.Core.Helpers
- Assembly:
- Weavy.Core.dll
Right(string, int)
Returns a string containing a specified number of characters from the right side of a string.
public static string Right(this string original, int length)
Parameters
- original
- string
Required. String expression from which the rightmost characters are returned.
- length
- int
Required. Integer greater than 0. Numeric expression indicating how many characters to return. If 0, a zero-length string ("") is returned. If greater than or equal to the number of characters in Str, the entire string is returned. If str is null, this returns null.
Returns
string
The specified number of characters from the right side of a string.