From: "Jesús Gabriel y Galán" Date: 2010-03-02T07:30:57+09:00 Subject: Re: submitting search term in quotation marks On Mon, Mar 1, 2010 at 11:10 PM, roger99999 wrote: > Silly question but I can't seem to find the answer online. I'm > submitting a search phrase in a scraper and I would like that to be in > quotation marks. Because the sterm="****" is already in quotation > marks in the code as: > > sterm = "United States" > > > , I would have to do ""******"" and that generates an error. How does > one do this? > many thanks in advance and apologies for posting such basic questions! > Roger > > The error I'm getting is the following. > > $ ruby article_parse_27feb2010.rb > article_parse_27feb2010.rb:53: syntax error, unexpected tCONSTANT, > expecting $end >  sterm = " "Double Espresso with Whipped Cream" " '"Double Espresso with Whipped Cream"' %q{"Double Espresso with Whipped Cream"} Jesus.