Reference.StringTrim History

Show minor edits - Show changes to markup

October 31, 2011, at 01:48 AM 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:

none

August 13, 2010, at 11:50 PM by David A. Mellis -
Changed lines 1-2 from:
to:
August 08, 2010, at 08:32 PM by David A. Mellis -
Added lines 1-20:

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

Share