Navigation: Formulas > Functions > Text
Trim
Trim(Text_Value) removes spaces from the beginning and end of Text_Value.