What is concatenation?
Strings can be joined together to form new strings. That’s concatenation. It’s often done using the ‘+’ operator.
What are upper, lower, length and subStrings called and what do they act on?
They’re special functions called methods. They act on a particular object and are called using the object’s name followed by a dot and the method’s name.
What is x.upper?
- e.g. HELLO
What is x.lower?
- e.g. hello
What is x.length?
- e.g. 5
What is x[i]?
- e.g. x[1] = “e”
What is x.subString(a,b)?