We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Ruby
- Strings
- Ruby - Strings - Methods I
- Discussions
Ruby - Strings - Methods I
Ruby - Strings - Methods I
Sort by
recency
|
37 Discussions
|
Please Login in order to post a comment
This problem is glitching in my browser. Unable to input code - when I edit the DOM directly it doesn't run as expected.
def process_text(arr) arr.map(&:strip).join(' ') end
def process_text(text_array) (text_array.map {|x| x.strip}).join(" ") end
ry useful advice in this particular article! It is the little changes which will make the largest changes. Thanks a lot for sharing Kitchen Remodel Contractors