×

Remove Empty Lines

iOS 15 +

Notes

Removes empty and whitespace-only lines from the input text.

Syntax

removeEmptyLines(text: <#String (Allows Variables)#>)

Example

removeEmptyLines(text: """")