Added trim, trimLeft, trimRight, stringContains. Code improvements.