Add string.trim function
Merge pull request #972 from curruwilla/patch-5

Add string.trim function