Trimming strings

If it's already there and I've missed it, I apologize, but I was thinking it would be nice to have a trim function for strings. I've already written one, but it would be better if it were part of the standard string functions. Just a thought...