Tutorial.StringLengthTrim History

Hide minor edits - Show changes to markup

August 27, 2015, at 01:16 PM by Simone Maiocchi -
Changed lines 58-59 from:
  • StringToInt - Allows you to convert a String to an integer number.
to:
  • StringToInt - Allows you to convert a String to an integer number.
August 27, 2015, at 12:26 PM by Simone Maiocchi -
August 27, 2015, at 12:26 PM by Simone Maiocchi -
Changed line 45 from:
to:
August 27, 2015, at 12:17 PM by Simone Maiocchi -
Changed line 56 from:
to:
August 27, 2015, at 12:02 PM by Simone Maiocchi -
Changed lines 58-59 from:
  • StringToInt - Allows you to convert a String to an integer number.
to:
  • StringToInt - Allows you to convert a String to an integer number.
August 27, 2015, at 11:46 AM by Simone Maiocchi -
Changed line 47 from:
 * StringAdditionOperator - Add strings together in a variety of ways. 
to:
August 27, 2015, at 11:43 AM by Simone Maiocchi -
Changed lines 12-13 from:
to:
August 27, 2015, at 11:42 AM by Simone Maiocchi -
Deleted lines 34-39:
Changed lines 53-54 from:
to:
August 27, 2015, at 11:36 AM by Simone Maiocchi -
Changed lines 1-6 from:
to:
Deleted line 49:
Changed lines 51-62 from:
to:
  • CharacterAnalysis - We use the operators that allow us to recognise the type of character we are dealing with.
 * StringAdditionOperator - Add strings together in a variety of ways. 
August 11, 2015, at 11:05 AM by Simone Maiocchi -
Changed lines 18-19 from:

There is no circuit for this example, though your Arduino must be connected to your computer via USB.

to:

There is no circuit for this example, though your board must be connected to your computer via USB and the serial monitor window of the Arduino Software (IDE) should be open.

Added lines 58-59:


Last revision 2015/08/11 by SM

July 10, 2015, at 01:43 PM by Simone Maiocchi -
Changed lines 1-9 from:
to:
Added lines 5-15:
Changed lines 43-44 from:

See Also:

to:

See Also

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