Modified StringNew and StringTrim