Function Reference
StringRight
Returns a number of characters from the right-hand side of a string.
Parameters
| string |
The string to evaluate. |
| count |
The number of characters to get. |
Return Value
Returns a string containing the rightmost count characters of the string.
Remarks
If count exceeds string length, the entire string is returned.
If count is negative, an empty string is returned.
Related
StringInStr, StringLeft, StringLen, StringLower, StringMid, StringTrimLeft, StringTrimRight, StringUpper, StringCompare, StringReplace, StringSplit
Example
Local $var = StringRight("I am a string", 3)
MsgBox(0, "Rightmost 3 characters are:", $var)