Part of SGScriptScanner

1. Add trim white space function to SGScriptHelper.