Name
UnrightStr -- remove leftmost characters from a string
Synopsis
var$ = UnrightStr(string$, len[, encoding])
Function
Removes the len leftmost characters from string$ and returns the new string.

The optional encoding parameter can be used to set the character encoding to use. This defaults to the default string encoding set using SetDefaultEncoding(). See Character encodings for details.

Inputs
string$
string to remove characters from
len
number of characters to remove
encoding
optional: character encoding to use (defaults to default string encoding) (V7.0)
Results
var$
resulting string
Example
test$ = UnrightStr("Hello World!", 6)
Print(test$)
This will print "World!".

Show TOC