Remove unneeded code from src/lang/string.js

Save the extra trim.