Task: Implement a String Trim Extension in Swift
Task: Implement a String Trim Extension in Swift: a task in Terminal-Lego-15k (Harbor dataset). Create a Swift program that implements a trim() method on String using a Swift extension. The method should remove leading and trailing whitespace (spaces, tabs, newlines) from a string.
The task
Create a Swift program that implements a `trim()` method on `String` using a Swift extension. The method should remove leading and trailing whitespace (spaces, tabs, newlines) from a string.
Part of PrimeIntellect/Terminal-Lego-15k.