Right$ Function
Syntax
Group
Description
Return the last Len chars of S$.
Note: A similar function, RightB, returns the last Len bytes.
Parameters |
Description |
Return the right portion of this string value. If this value is Null then Null is returned. |
|
Return this many chars. If S$ is shorter than that then just return S$. |
See Also
InStr( ), InStrRev( ), Left$( ), Len( ), Mid$( ), Replace$( )
Example
Sub Main
Debug.Print Right$("Hello",3) '"llo"
End Sub