Navigation:  ThinBASIC Modules > Core (thinBasic Core Engine) > String functions >

Wrap$

Previous pageReturn to chapter overviewNext page

 

Description

 

Surround a string with Left_Str and and Right_Str strings.

 

Syntax

 

s = Wrap$(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 pre pended

Right_Str

String

No

String that will be post pended

 

Remarks

 

Restrictions

 

See also

 

UnWrap$

 

Examples