Home
Products
Community
Manuals
Contact
Login or Signup

BlitzMax Docs -> 2D - A-Z -> R -> Right

Right$( str$,n )

Returns:

size rightmost characters of str

Description:

Extract characters from the end of a string

The Right$ command returns a substring of a String.Given an existing String and a size, Right$ returns the last sizecharacters from the end of the String.


Comments

munch(Posted 12 hours ago)
Slice equivalent is str[str.length-n..] and is 'zero based'. See Left.


BlitzMax Manual Forum

Blitz3D Equivalent Command