From: Hans Mackowiak Date: 2012-07-15T00:28:06+09:00 Subject: Re: What is done by Ruby [array of domains].any? {|s| teststring.start_with?(s)} or something like this, depending on your wanted result -- Posted via http://www.ruby-forum.com/.