LastLine / String Layer

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

Common applications:

  • Reading footers
  • Getting final status
  • Processing log conclusions
  • Extracting summary lines
  • Reading final results
  • Getting last error messages
Table
0
0
Table

Select

column

The string column containing multi-line text. Examples:

  • Reports: 'Data\nTotal: 100' → 'Total: 100'
  • Logs: 'Start\nProcess\nDone' → 'Done'
  • Status: 'Running\nCompleted' → 'Completed'
  • Trailing newline: 'Content\n' → 'Content'

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.