Skip to content
Narta Xaymar Dirks edited this page Oct 28, 2026 · 6 revisions

Blitz3DBlitzPlusBlitzBasic

Right

Right:String string:String, count:Int32
Parameter Mode Type Default Description
string In String required The text.
count In Int32 required How many characters to take.

Returns: The last count characters.

Description

Returns the last characters of a string. Asking for more characters than there are returns the whole string.

Examples

Print Right$("hello", 2)
lo

Related Commands

Mid, Replace, RSet, String

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally