Strings
Lesson 8Author : GOUP
Last Updated : September, 2020
Video Code
greeting = "Hello"
#indexes: 01234
puts greeting.length
puts greeting[0]
puts greeting.include? "llo"
puts greeting.include? "z"
puts greeting[1,3]
greeting = "Hello"
#indexes: 01234
puts greeting.length
puts greeting[0]
puts greeting.include? "llo"
puts greeting.include? "z"
puts greeting[1,3]