From: Oleg Komarov on 4 Aug 2010 07:24 "David Young" <d.s.young.notthisbit(a)sussex.ac.uk> wrote in message <i3bat5$dpq$1(a)fred.mathworks.com>... > Yes, try this: > > newnames = regexprep(names, '^([^,]*), (.*)\.\.\.(.*)$', '$2 $1$3') Thank you very much! I adopted something similar but your syntax is way much more compact and elegant! I have still much to learn from regular expressions! Oleg
|
Pages: 1 Prev: glmfit Next: Bulding s-blocks for both 32 and 64 bit windows |