How to split strings in ruby? | Sololearn: Learn to code for FREE!
Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcję
+ 13

How to split strings in ruby?

im trying to get an input separated by space

22nd Aug 2018, 12:39 AM
ShortCode
3 odpowiedzi
+ 7
<string>.split("#{text}")
25th Aug 2018, 7:08 PM
Fulcanelly
Fulcanelly - avatar
+ 12
OK thanks
29th Aug 2018, 9:51 AM
ShortCode
22nd Aug 2018, 12:46 AM
MO ELomari
MO ELomari - avatar