Right$

Result = Right$ ( String [ , Length ] )

Returns the Length last characters of a string. If Length is not specified, the last character of the string is returned. If Length is negative, all the string except the (- Length ) first characters is returned.

Example :

PRINT Right$("Gambas", 4)
=> mbas

PRINT Right$("Gambas")
=> s

PRINT Right$("Gambas", -1)
=> ambas


Referenced by :