bit/utils/string/remove-new-lines

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

0 Likes
Use in your codeLearn more
bit import bit.utils/string/remove-new-lines

(str:string) :string

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