+1 888 340 6572

RightStr

From MultiCharts
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Returns one or more rightmost characters from the specified string expression.

Usage

RightStr(String, sSize)

Where:

String - a string expression from which the characters are to be taken.
sSize - a numerical expression specifying the number of characters to be returned.

Example

RightStr("Hello World", 5);

Will return a string expression "World".

Notes

  • See LeftStr to return the leftmost part of a string,
  • See MidStr to return a middle part of a string,
  • See InStr to get the starting location of a expression in a string.