Tutorial.StringReplace History

Show minor edits - Show changes to markup

May 02, 2012, at 03:54 PM by Scott Fitzgerald -
Changed lines 37-38 from:
to:
November 16, 2011, at 04:22 AM by Scott Fitzgerald -
Changed lines 37-38 from:
to:
September 19, 2010, at 11:52 PM by Christian Cerrito -
Changed lines 5-6 from:

The String replace() function allows you to replace all instances of a given character with another character. You can also use replace to replace substrings of a string with a different substring.

to:

The String replace() function allows you to replace all instances of a given character with another character. You can also use replace to replace substrings of a string with a different substring.

September 19, 2010, at 11:51 PM by Christian Cerrito -
Changed lines 5-6 from:

The String replace() function allows you to replace all instances of a given character with another character.You can also use replace to replace substrings of a string with a different substring.

to:

The String replace() function allows you to replace all instances of a given character with another character. You can also use replace to replace substrings of a string with a different substring.

September 19, 2010, at 11:51 PM by Christian Cerrito -
Added line 23:

Code

Deleted line 34:

Code

September 19, 2010, at 11:50 PM by Christian Cerrito -
Changed line 9 from:

No external hardware is required.

to:
  • Arduino Board
Deleted lines 11-22:
Deleted line 12:
Changed lines 14-18 from:

There is no circuit for this example.

to:

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

image developed using Fritzing. For more circuit examples, see the Fritzing project page

Changed lines 21-24 from:

Code

to:

Caution: If you try to replace a substring that's more than the whole string itself, nothing will be replaced. For example:

Changed lines 26-28 from:
to:
Added lines 32-40:
Added line 42:
Added lines 55-57:

September 16, 2010, at 10:53 PM by Tom Igoe -
Changed lines 16-17 from:
to:
September 16, 2010, at 10:52 PM by Tom Igoe -
Changed line 33 from:
to:
September 16, 2010, at 10:52 PM by Tom Igoe -
Changed lines 16-17 from:

[@

  String stringOne = "<html><head><body>";
to:
Changed line 18 from:

@]

to:
Changed line 32 from:
to:
August 01, 2010, at 05:01 PM by Tom Igoe -
Added lines 1-49:

Share