Gravatar for undefined
Log in to like
7 Likes

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

Use in your code Learn more
bit import bit.utils/string/remove-new-lines

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

Argument

str: string

Returns

string

Test Summary

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