Handy String Attributes, Methods
-
An variable is a class attribute. Objects can also be attributes.
-
Length of a string: name.length
-
Case conversion methods:
name = "Spiff";
document.write(name.toUpperCase());
document.write(name.toLowerCase());
name = name.toLowerCase();
Substrings
Home
Internet II: Day 2