TOKENIZE

Note that this reference documentation is identical to the help that is displayed in Matlab when you type “help tokenize”.

  TOKENIZE cuts a string into pieces, returning the pieces in a cell array
 
  Use as
    t = tokenize(str)
    t = tokenize(str, sep)
    t = tokenize(str, sep, rep)
  where
    str = the string that you want to cut into pieces
    sep = the separator at which to cut (default is whitespace)
    rep = whether to treat repeating seperator characters as one (default is false)
 
  With the optional boolean flag "rep" you can specify whether repeated
  seperator characters should be squeezed together (e.g. multiple
  spaces between two words). The default is rep=1, i.e. repeated
  seperators are treated as one.
 
  See also STRTOK, TEXTSCAN

reference/tokenize.txt · Last modified: 2012/05/23 23:02 (external edit)

You are here: startreferencetokenize
This DokuWiki features an Anymorphic Webdesign theme, customised by Eelke Spaak and Stephen Whitmarsh.
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0