kytschBASIC

Put down that phone!
Please view me on real computer.

UNRIGHT
STRING, LENGTH

This function will remove rightmost characters based on a length.

Example

PRINT UNRIGHT("Hi World!", 7)

LINE BREAK



DEF string$=UNRIGHT("Hi World!", 7)

PRINT string$

Output

Hi
Hi

See also