Trim

Trims a string value with the specified character from the left, right, or both sides

Trim("Cihacago city.", ".", SideOption.RIGHT) → "Chicago city"
Trim("0I'm good at analytics0", "0", SideOption.BOTH) → "I'm good at analytics"

Inputs

Trim(string, [character], [sideOption])

  • string - A text value

  • [character] - A text to trim

  • [sideOption] - LEFT, RIGHT, or BOTH side option, ex. SideOption.BOTH

Last updated