Vyxapedia

Element - ø. - Surround

Characters: ø, .


Description

Surround a value with another


Overloads

  • str-str - a.surround(b)
  • lst-any - a.surround(b)
  • any-lst - b.surround(a)

Examples

  • `abc` `*` ø. = `*abc*`
  • ⟨1|2|3⟩ 4 ø. = ⟨4|1|2|3|4⟩
  • 4 ⟨1|2|3⟩ ø. = ⟨4|1|2|3|4⟩
  • 123 4 ø. = 41234
  • 123 `a` ø. = `a123a`
  • `a23` 4 ø. = `4a234`