trim / toUpperCase / toLowerCase
Also written: trim, toUpperCase, toLowerCase
String methods that return a new string: `trim` removes spaces at both ends, and `toUpperCase` and `toLowerCase` change the case. Strings can't be changed in place.
Also written: trim, toUpperCase, toLowerCase
String methods that return a new string: `trim` removes spaces at both ends, and `toUpperCase` and `toLowerCase` change the case. Strings can't be changed in place.