outstr = strtrim(str,trimType) Removes any leading, trailing, both, or even all spaces (spaces, tabs, endlines,...) from the str string. - str: string whose leading, trailing, both, or all spaces are to be removed - trimType: 'left', 'right', 'both' (default if empty or not given), 'full'; 'left' removes any leading spaces 'right' removes any trailing spaces 'both' removes any leading and trailing spaces 'full' removes all space-type characters from the str string - outstr: resulting (trimmed) string NOOTES: if str is numeric no changes will be made (the same value will be returned) -----------------------------------------------------------