> 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