remove-new-lines
v1.0.0arrow_drop_downv1.0.0
v0.0.1
STATUS
Passing
DOWNLOADS
26
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
7 years ago
SIZE
494 B
remove all new lines from a string (do not mutate the string but return new instance)
Like
Install remove-new-lines as a package?
Copied
npm i @bit/bit.utils.string.remove-new-lines
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout
chevron_left
chevron_right
removeNewLines (
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 exist | Pass |
remove-new-lines should remove all new lines from a string | Pass |