SplitLines / String Layer

Split strings into lists of lines using standard line endings. Similar to Python's str.splitlines(), R's strsplit(x, ' '), or Rust's lines(). Creates a list column containing separated lines.

Handles multiple line ending types:

  • Unix (\n)
  • Windows (\r\n)
  • Classic Mac (\r)

Common applications:

  • Processing log files
  • Parsing multi-line records
  • Handling text file content
  • Processing error messages
  • Working with formatted reports
  • Analyzing multi-line output
Table
0
0
Table

Select

column

The string column containing multi-line text. Examples:

  • Log entries: 'Error\nDetails\nStack trace'
  • CSV data: 'header\nrow1\nrow2'
  • Text blocks: 'Title\nContent\nFooter'
  • Multi-line records: 'Name: John\nAge: 30'

Name for the new column. If not provided, the system generates a unique name. If AsColumn matches an existing column, the existing column is replaced. The name should follow valid column naming conventions.