Navigation:  thinBasic Modules > Core > String handling >

GRAB$

Previous pageReturn to chapter overviewNext page

 

Description

 

Returns a string delimited by StrDelim_1 and and StrDelim_2 strings.

 

Syntax

 

s = GRAB$(StringExpression, StrDelim_1, StrDelim_2 [, Index])

 

Returns

 

String

 

Parameters

 

Name

Type

Optional

Meaning

StringExpression

String

No

The string to parse.

StrDelim_1

String

No

First delimiter string

StrDelim_2

String

No

Second delimiter string

Index

Numeric

Yes

The delimited field number to return.

If omitted, 1 is assumed.

 

Remarks

 

Restrictions

 

See also

 

PATCH$

 

Examples