\section{DEBLANK Remove trailing blanks from a string}

\subsection{Usage}

The \verb|deblank| function removes spaces at the end of a string
when used with the syntax
\begin{verbatim}
   y = deblank(x)
\end{verbatim}
where \verb|x| is a string, in which case, all of the extra spaces
in \verb|x| are stripped from the end of the string.  Alternately,
you can call \verb|deblank| with a cell array of strings
\begin{verbatim}
   y = deblank(c)
\end{verbatim}
in which case each string in the cell array is deblanked.
\subsection{Example}

A simple example
\begin{verbatim}
--> deblank('hello   ')
ans = 
  <string>  - size: [1 5]
 hello

\end{verbatim}
and a more complex example with a cell array of strings
\begin{verbatim}
--> deblank({'hello  ','there ','  is  ','  sign  '})
ans = 
  <cell array> - size: [1 4]
 
Columns 1 to 3
 hello    there      is    
 
Columns 4 to 4
   sign    

\end{verbatim}
