Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/node-core-library > Text > splitByNewLines

Text.splitByNewLines() method

Splits the provided string by newlines. Note that leading and trailing newlines will produce leading or trailing empty string array entries.

Signature:

static splitByNewLines(s: undefined): undefined;

Parameters

Parameter

Type

Description

s

undefined

Returns:

undefined