Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 277 Bytes

trim.md

File metadata and controls

16 lines (13 loc) · 277 Bytes

trim()

string trim(string)

trim() returns the given string argument without leading and trailing whitespace. The following characters are considered whitespace: space, newline, carriage return, tab, vertical tab.

Example:

trim("  xy
  ")

returns xy.