Navigation: Get Started > Label Objects > Common Parts > Text Value > Transform Action >
You may choose the "Trim" transformation to trim the leading and trailing spaces of a string.