Answer the question
In order to leave comments, you need to log in
How to split on the first occurring letter in Ruby?
How to split on the first occurring letter in Ruby?
For example, I have a string that contains the letter A 3 times.
string = 'sdfsdfsdadfgfdgfdgafdsfsd'
how can I split by letter number?
those.
what would work like this
sdfsdfsd dfgfdgfdgafdsfsd
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question