remove all new lines from a string (do not mutate the string but return new instance)

remove all new lines from a string (do not mutate the string but return new instance)

Test Summary

remove-new-lines the component should existPass
remove-new-lines should remove all new lines from a stringPass