Tutorial.StringLengthTrim History

Hide minor edits - Show changes to markup

May 02, 2012, at 03:57 PM by Scott Fitzgerald -
Changed lines 21-22 from:
to:
Changed line 27 from:
to:
Deleted line 53:
May 02, 2012, at 03:55 PM by Scott Fitzgerald -
Changed line 28 from:
to:
May 02, 2012, at 03:55 PM by Scott Fitzgerald -
Changed line 35 from:
to:
November 16, 2011, at 04:24 AM by Scott Fitzgerald -
Changed line 28 from:
to:
Changed line 35 from:
to:
September 19, 2010, at 11:47 PM by Christian Cerrito -
Added line 40:
Added lines 53-54:
September 19, 2010, at 11:47 PM by Christian Cerrito -
Added lines 21-24:
Changed line 27 from:
to:
September 19, 2010, at 11:46 PM by Christian Cerrito -
Changed line 9 from:

No external hardware is required.

to:
  • Arduino Board
Changed lines 12-20 from:
to:
Changed lines 23-24 from:
to:
September 17, 2010, at 11:05 PM by Tom Igoe -
Changed line 24 from:
to:
August 15, 2010, at 03:27 PM by Tom Igoe -
Changed lines 20-21 from:

@@trim() is useful for when you know there are extraneous whitespace characters on the beginning or the end of a String and you want to get rid of them. Whitespace refers to characters that take space but aren't seen. It includes the single space (ASCII 32), tab (ASCII 9), vertical tab (ASCII 11), form feed (ASCII 12), carriage return (ASCII 13), or newline (ASCII 10). The example below shows a String with whitespace, before and after trimming:

to:

trim() is useful for when you know there are extraneous whitespace characters on the beginning or the end of a String and you want to get rid of them. Whitespace refers to characters that take space but aren't seen. It includes the single space (ASCII 32), tab (ASCII 9), vertical tab (ASCII 11), form feed (ASCII 12), carriage return (ASCII 13), or newline (ASCII 10). The example below shows a String with whitespace, before and after trimming:

August 01, 2010, at 04:12 PM by Tom Igoe -
Deleted line 16:

[@

Deleted line 17:
 @]  
August 01, 2010, at 04:09 PM by Tom Igoe -
Added lines 1-42:

Share