How about this option?
inputLine = "Reggie;12345;Phillipines" 
nameOnly=inputLine.split(/;/)[0]
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6488&messageID=18585#18585
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to