trim()
trim removes white spaces at the beginning and end of a text and returns the remaining string:
trim(" Hello World   ") - returns "Hello World"