|-----Original Message-----
|From: David Bateman [mailto:address@hidden
|Sent: Wednesday, January 28, 2009 3:21 PM
|
| ** snip **
|
|I no longer have easy to matlab so can someone run the commands
|
|a = sprintf('20\t50\tcelcius\t80');
|b = sprintf('20\t50\t\t80');
|regexp(a, '[^\t]+', 'match')
|regexp(b, '[^\t]+', 'match')
|regexp(a, '[^\t]*', 'match')
|regexp(b, '[^\t]*', 'match')
|
|on matlab and send the results? Its not clear from your
|message John if
|the behavior described by Daniel is the right one.
|
|Thanks
|D.
|
ans =
'20' '50' 'celcius' '80'
ans =
'20' '50' '80'
ans =
'20' '50' 'celcius' '80'
ans =
'20' '50' '80'