This article needs additional citations for verification. (February 2015) |
In computer programming, trimming (trim) or stripping (strip) is a string manipulation in which leading and trailing whitespace is removed from a string.
For example, the string (enclosed by apostrophes)
' this is a test '
would be changed, after trimming, to
'this is a test'