Manipulating strings is a common occurence for server side programming. All the text you see on Facebook and linked in has to be manipulated to appear a certain way. This exercise will give you a resource for learning more about strings.
- familiarize yourself with the format of the official Ruby Documentation
- get comfortable interpolating dynamic values into strings
-
Spend 15 minutes looking over and familiarizing yourself with the official Ruby String Documentation
-
Enter into pry and try some of the methods you find in the documentation.
- Example:
"Kamari Aykes".split(" ") - Example:
"PJ Hughes".length