Thanks a lot for refactoring the function. :+1:

I don't think that this function is general enough for ``String``. Would you mind if I ask you to move the function back where it came from? :smile: