+ 13

How to split strings in ruby?

im trying to get an input separated by space

22nd Aug 2018, 12:39 AM
ShortCode
3 Answers
+ 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