From: Sam Sang Date: 2008-10-17T04:42:53+09:00 Subject: Re: Ruby with Oracle forward slash error Perfect..! Was looking for something exactly like this. Many thanks for all your help Robert, and thanks for this Mark. Much appreciated. Just getting started with Ruby, but reminds me a lot of perl. Cheers, > Maybe something like this? > > statements = type.split(%r{^/}) > > statements.each do |s| > execute(s) unless s.strip == "" > end > > -- Mark. -- Posted via http://www.ruby-forum.com/.