Reference.StringTrim History
Hide minor edits - Show changes to output
October 30, 2011, at 08:48 PM
by Scott Fitzgerald -
Changed lines 6-7 from:
Get a version of the String with any leading and trailing whitespace removed. (Doesn't modify the String it's called on.)
to:
Get a version of the String with any leading and trailing whitespace removed. As of 1.0, trim() modifies the string in place rather than returning a new one.
Changed lines 15-16 from:
a new String, with leading and trailing whitespace removed
to:
August 13, 2010, at 05:50 PM
by David A. Mellis -
Changed lines 1-2 from:
to:
[[StringObject | String]]
August 08, 2010, at 02:32 PM
by David A. Mellis -
Added lines 1-20:
[[StringClass | String]]
!!trim()
!!!!Description
Get a version of the String with any leading and trailing whitespace removed. (Doesn't modify the String it's called on.)
!!!!Syntax
''string''.trim()
!!!!Parameters
string: a variable of type String
!!!!Returns
a new String, with leading and trailing whitespace removed
!!!!Example
* [[Tutorial/StringLengthTrim]]