Hello

Can anyone tell me how I can trim whitespaces from the left and right of a javascript string?

thanks