StringToTokens:

Path: Common/General

% Converts a string to a list of tokens.

--------------------------------------------------------------------------
   Form:
   t = StringToTokens( s, delimiters, noSpace )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   s          (:)   String (may be a cell element)
   delimiters (:)   List of delimiters added to whitespace
   noSpace    (1,1) If entered will not use whitespace as a delimiter

   -------
   Outputs
   -------
   t          {}    Cell array of tokens

--------------------------------------------------------------------------

Back to the Common Module page