use the Trim(), TrimStart(), and TrimEnd() methods to trim strings