ChrisH wrote:
> try
>   /#{line}/ =~ a
>
> cheers

I need shooting. However I get a match with this

"table HINTON ST GEORGE"
"line HINTON ST GEORGE"
match

but not with a trailing space
"table HINCKLEY"
"line HINCKLEY "
not match

I can't see a trim in Ruby.

I tried this also /#{line}s*/ 

Thanks so much

aidy