UnWrap$

<< Click to Display Table of Contents >>

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

UnWrap$

 

Description

 

Remove delimiters from left and right part of string.

 

Syntax

 

s = UnWrap$(StringExpression, Left_Str [, Right_Str])

 

Returns

 

String

 

Parameters

 

Name

Type

Optional

Meaning

StringExpression

String

No

The string to parse.

Left_Str

String

No

String that will be removed from left

Right_Str

String

No

String that will be removed from right

If not specified, Left_Str string will be used both for left and right unwrapping

 

Remarks

 

Restrictions

 

See also

 

Wrap$

 

Examples

 

'---Returns MyName without single quotes

String s = WRAP$("'MyName'"$SQ)