Create a variable called "Offset" of type integer and a variable called 'NewString' of type string then do the following:
It is possible to strip whitespace in front or after a string (for more info you can look here.
For you case you will have to resort to Java, as the position of the whitespace is variable (Java will alow you to determine the location of the whitespace)