Strings
-
A String is an object, has methods.
-
Two ways to create strings:
var name = "Spiff";
var name = new Name("Spiff");
-
Both do the same thing.
-
Set a value with = operator.
-
Combine two strings with +, concatenation operator.
var name = "Spiff" + " " + "Goodman";
String Methods
Home
Internet II: Day 2