Purpose |
Add paired characters to the beginning and end of
a
|
Syntax |
s$ = WRAP$(StringExpression, LeftChar$, RightChar$) |
Remarks |
The WRAP$ function prepends LeftChar$ to the StringExpression, then appends RightChar$, and returns the total result. For example: WRAP$("MyWord", "<", ">") returns "<MyWord>" It is particularly useful for enclosing text with parenthesess, quotes, brackets, etc. |
See also |