Strings
Strings of characters
H,
e,
l,
l,
oresult in the string
Hello
We can define a String using quotes:
'Hello'
"Hello"
To Ruby it doesn't matter which quotes we use!
Strings are used whenever we're dealing with text in our programs
For example, we want to know the user's name and password for logging them in. Both name and password will be Strings in our program!
Strings are probably the most often used data type in any programming language!
What questions do you have?