Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
The internets melt down :D
what if the search_text is a space char?
It's not wrong, re-read the code more carefully ;-)
this solution is wrong if full_text == search_text or full_text end with search_text
1.9.3-p392 :042 > "vv".split("vv").size
=> 0
1.9.3-p392 :043 > "vvaa".split("vv").size
=> 2
1.9.3-p392 :044 > "aavv".split("vv").size
=> 1