Navigation:  thinBasic Modules > Core > String handling >

LETTER$

Previous pageReturn to chapter overviewNext page

 

Description

 

Extracts from a string expression only the chars representing a letter char.

 

Syntax

 

s = LETTER$(string_expression)

 

Returns

 

String

 

Parameters

 

Name

Type

Optional

Meaning

String_Expression

String

No

Any string expression

 

Remarks

 

Default letter chars are defined by the string Chr$(65 To 90, 97 To 122)

Default string can be changed at run-time using LETTER_SetMask$ and LETETR_GetMask$ functions.

 

Restrictions

 

See also

 

LETTER_SetMask$, LETETR_GetMask$

 

Examples