Navigation:  ThinBASIC Language > thinBasic Functions > String functions >

RIGHTW$

Previous pageReturn to chapter overviewNext page

 

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