Ruby - String Operations
What will this Ruby code output?
sentence = "a,b,c,d"
array = sentence.split(',')
puts array.join('')
sentence = "a,b,c,d"
array = sentence.split(',')
puts array.join('')
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions