Write an expression the evaluates to the concatenation of the
strings 'foo' and 'bar'.
What is the value of 'foo'[0]?
What is the value of 'foo'.length?
What is the value of 'foo\nbar'.length?
What is the value of 'foo\\nbar'.length?
What is the value of 'foo'['foo'.length - 1]?
What is the value of 'foo'.toUpperCase()?
What is the value of 'FOO'.toLowerCase()?
Write an expression the evaluates to the concatenation of the values of the
string variables s1 and s2.
Write an expression the evaluates to the first character of the value of the
string variable s.
Write an expression the evaluates to a string containing all but the first
character of the string in variable s.
Write an expression the evaluates to a string containing the first three
character of the string in variable s.
Write an expression the evaluates to a string containing all but the first
and last character of the string in variable s.
Write an expression the evaluates to a string containing the last three
character of the string in variable s.
Write an expression the evaluates to the the value of the string
variable s with the first letter capitalized and the remaining
letters in lower case.
Write an expression the evaluates to the the value of the string
variable s with the first three letters capitalized and the
remaining letters in lower case.