added Trim() support