×

Remove Duplicate Lines

iOS 15 +

Notes

Removes duplicate lines from the input text. Empty or whitespace-only lines are not considered duplicates.

Syntax

removeDuplicateLines(text: <#String (Allows Variables)#>, caseInsensitive: <#Boolean#>)

Example

removeDuplicateLines(text: "This is a test
This is a test", caseInsensitive: false)