Ruby Substring
value = "lovelace"
# Get substring at index 1 with length 3.
# ... First argument is start index, second is length.
last_three = value[0,3]
puts last_three
#outputs "love"
Crazy Cod