Line splitter

[string/Line splitter]


Splits a string by lines. Example:

  1. 'string' receives "line1 line2 line3"

  2. 'lines' emits ["line1","line2","line3"]


Keywords: string split line

Input ports

  • string: string

    Receives the string to split by lines. Example: "line1 line2 line3"

Output ports

  • lines: string[]

    Emits the array of lines. Example: ["line1","line2","line3"]

Last updated