RIGHTW$

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Core Language > BuiltIn Functions > String functions >

RIGHTW$

 

Description

 

Return the rightmost n characters of a string.

 

Syntax

 

s = RIGHTW$(StringExpression, nChars)

 

Returns

 

String

 

Parameters

 

Name

Type

Optional

Meaning

StringExpression

String

No

Original string from which portion will be extracted

nChars

Numeric

No

Number of chars to return

 

Remarks

 

Restrictions

 

See also

 

String Handling, LEFT$, MID$, RIGHTW$,

 

Examples