Right$()

Last Modified: 9/9/2021

Returns a String that contains the specified number of characters from the right side of a String.

Arguments

NameTypeRequiredDescription
Str String Yes The expression to return the rightmost characters from.
Length Integer, Long Yes The number of characters to return.

Example

Syntax: Right$(<Str>, <Length>)
    a$ = "Hello World"
    Print Right$(a$,5)

See Also

Mid$(), Left$()