From: Johnathan Smith Date: 2007-12-07T01:19:56+09:00 Subject: Re: regular expression. newbie problem. > a = Name.new("Lee John Jarvis") > p a.fname #=> 'Lee' > p a.mname #=> 'John' > p a.sname #=> 'Jarvis' > p a.initials #=> 'L.J.J' > hi, the class looks good although im getting errors with the output im entering: a = Name.new("Johnathan Micheal Smith") but im getting an error which says syntax error near unexpected token `(' any idea why thanks -- Posted via http://www.ruby-forum.com/.