Peña, Botp wrote:
> From: Srinivas reddy Guda [mailto:gsr / fast-forward.com.sg]
> # How to find the pattern in strings.
> 
> find it..
> 
> http://www.ruby-doc.org/core/classes/String.html
> 
> qri string.=~
> 
> qri string.index

Thanks. index will fulfill by requirement.
-- 
Posted via http://www.ruby-forum.com/.