trim: Remove whitespace from both sides of a string

Description Usage Arguments Examples

Description

Remove all spaces from text except for single spaces between words

Usage

1
    trim(x)

Arguments

x

is a string that we want to delete whitespace from both sides

Examples

1
2
  str = " Hello World! "
  trim(str)

x.ent documentation built on May 2, 2019, 2:14 p.m.

Related to trim in x.ent...