Removes whitespace from both ends of a string.
print(trim(' hello ')); // Outputs: 'hello'
String trim(String s) => s.trim();