FirstLine / String Layer

Extract the first line from multi-line strings. Similar to Python's str.splitlines()[0] or getting the first line in file processing. Returns null for empty strings.

Common applications:

  • Extracting headers
  • Reading titles
  • Processing log entry timestamps
  • Getting primary record identifiers
  • Extracting summaries
  • Reading first line of configurations
Table
0
0
Table

Select

column

The string column containing multi-line text. Examples:

  • Headers: 'Title\nContent' → 'Title'
  • Log entries: 'Time: 12:00\nDetails...' → 'Time: 12:00'
  • Records: 'ID: 123\nName: John' → 'ID: 123'
  • Empty first line: '\nContent' → ''

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.