function str,x,_extra=extras ;+ ; ; STR ; Function to shortcut strtrim(string(X),2) ; ; Call Sequence: ; Result = STR(X) ; ; Input: X ; ; Returns: string containing value of X with leading & trailing blanks ; removed. ; ; Katie Peek / Sept 2005 ; ;- return,strtrim(string(x,_extra=extras),2) end