Removes consecutive empty lines from a given string.
The string from which to remove consecutive empty lines.
strNoConsecutiveEmptyLines("Hello\n\n\nWorld");;//=> "Hello\n\nWorld" Copy
strNoConsecutiveEmptyLines("Hello\n\n\nWorld");;//=> "Hello\n\nWorld"
Generated using TypeDoc
Removes consecutive empty lines from a given string.