Function strRemoveEmptyLines

  • Removes all empty lines from a given string.

    Parameters

    • string: string

      The string from which to remove empty lines.

    Returns string

    Example

    strRemoveEmptyLines('Hello\n\nWorld\n\n!');;
    //=> 'Hello\nWorld\n!'

Generated using TypeDoc