Skip to content
Andrew Owen edited this page May 30, 2023 · 1 revision

RIGHT$


child = RIGHT$(parent, num_chars) Returns the rightmost num_chars characters of parent.

Parameters

  • parent is a string expression.
  • num_chars is a numeric expression in [0 to 255].

Notes

  • If num_chars is zero or parent is empty, RIGHT$ returns an empty string.
  • If num_chars is greater than the length of parent, returns parent.

Errors

  • parent has a numeric value or num_chars has a string value: Type mismatch.
  • num_chars is not in [-32768 to 32767]: Overflow.
  • num_chars is not in [0 to 255]: Illegal function call.

Welcome to the SE BASIC wiki


  • Press RETURN to return to this menu.
  • Enter the name of a TOPIC to display it.
  • Enter EXIT to return to BASIC.

Choose from the following topics:

  1. Quick start guide: QUICK
  2. User's guide: USER
  3. Configuration guide: CONFIG
  4. Language guide: LANGUAGE
  5. Language reference: BASIC
  6. Technical reference: TECH
  7. Developer's guide: DEV
  8. Acknowledgemets: CREDITS
  9. Licenses: LICENSE
Clone this wiki locally