1. var somestring= new String() defines an empty string
2. var otherstring= new String("How is your day going?") defines a string with an intial value
3. string1.toUpperCase()
converts string1 to all upper case

string1

string1.toUpperCase()
4. string1.toLowerCase()
converts string1 to all lower case

string1

string1.toLowerCase()
5. string1.italics()
converts string1 to italics

string1

string1.italics()
6. string1.indexOf(string2)
returns first character position of string2 within string1

substring

string1

string.indexOf(substring)
7. string1.replace(first_string, second_string)
replaces first string with second string

string1

first string

second string