Added in 1.8.10
$right(text,N)
Returns the N right characters of text.
Parameters
Parameter | Description |
text | The text to return from. |
N | Number of characters from the right. |
Example
; Return last 5 characters from 'Hello World'. //echo -ag $right(Hello World,5)