From: "Firestone, Mark - Technical Support" Date: 2002-04-04T00:38:02+09:00 Subject: RE: regular expression question Doh. I like to do things the hard way...sigh. Thanks. -----Original Message----- From: Morris, Chris [mailto:chris.morris@snelling.com] Sent: 03 April 2002 16:31 To: ruby-talk@ruby-lang.org Subject: RE: regular expression question > I want to seperate a string of commands seperated by semi-colons... Does input.split(';') do what you want? irb(main):001:0> "a;b;c".split(';') ["a", "b", "c"] Chris NOTICE: This e-mail and any attachment(s) may contain confidential and proprietary information of Goss International Corporation and/or its subsidiaries and may be legally privileged. This e-mail is intended solely for the addressee. If you are not the addressee, dissemination, copying or other use of this e-mail or any of its content is strictly prohibited and may be unlawful. If you are not the intended recipient please inform the sender immediately and destroy the e-mail and any copies. All liability for viruses is excluded to the fullest extent permitted by law. Any views expressed in this message are those of the individual sender. No contract may be construed by this e-mail.