LEFTW$

<< Click to Display Table of Contents >>

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

LEFTW$

 

Description

 

Return the left-most n character of a string.

 

Syntax

 

s = LEFTW$(StringExpression, nBytes)

 

Returns

 

String

 

Parameters

 

Name

Type

Optional

Meaning

StringExpression

String

No

Original string from which portion will be extracted

nBytes

Numeric

No

Number of bytes to return

 

Remarks

 

Restrictions

 

See also

 

String Handling, RIGHT$, MID$

 

Examples