StringTools
Fence
Add fences to a string of text
Calling Sequence
Parameters
Description
Examples
Fence( s, leftfence, rightfence)
s
-
string; string to be fenced
leftfence
string; the fence to insert on the left of the string s
rightfence
string; the fence to insert on the right of the string s
The Fence procedure adds fences to both ends of a string s of text. The fenced text is returned.
with⁡StringTools:
Fence⁡x+y,(,)
(x+y)
Fence⁡x+y,{,}
{x+y}
See Also
string
StringTools[IsBalanced]
Download Help Document
What kind of issue would you like to report? (Optional)