Function strRemoveFirstAndLastLine

  • Removes the first and last line from a given string.

    Parameters

    • string: string

      The string from which the first and last line will be removed.

    Returns string

    Example

    strRemoveFirstAndLastLine('Line1\nLine2\nLine3');;
    //=> 'Line2'

Generated using TypeDoc