This function is an Advanced Text function in the UBot Extended Library.
This function surrounds text with other text.
Text to surround: The text being surrounded.
Text to surround with: The text being used to surround the original text.
alert($surround text(" one ","two three"))
The original text "one" is surrounded by the text "two three", resulting in the text "two three one two three"