# TRIMCTL > [HTML Version](trimctl.htm) This switch causes TRIM to remove leading and trailing control characters, as well as blanks, from the string passed to it. You can also get the same effect by passing a second, numeric, non-zero valued argument to TRIM (e.g. XCALL TRIM,A\$,1).