Comment
Comment by letmutex
Thanks for pointing that out, str slice is surely better. I returned String in all versions just because collect() returns A String and I want to reuse the same test function. Will update this later.
Be the first to share your thoughts.