$strRight = Right ( <string>,
[size] )
Extracts a substring
from the rightmost end of the string.
Parameters
<string>
Main string parameter.
[size] Number
of characters to be extracted.
Return Value
Returns n characters from the right side of the string.
Remarks
- Extracts a substring
of length [size] characters from the rightmost end of the string <string>. The
function returns a copy of the extracted substring.
Example
$a = "ABCD"
$b = Right($a,2)