Add String.trim function.