Right Function

Syntax

String Right(String string, Number numberOfCharacters)

Return Value

String

A string that contains the specified number of characters from the right side of the original string.

Purpose

This function retrieves a substring from the right side of a string of the specified number of characters.

Parameters

string as String

A string.

numberOfCharacters as Number

The number of characters to return from the right side of the string. If this number is greater than the number of characters available, the function returns the entire string.