About/Contact

Steve Trefethen

Steve Trefethen is a Director of Engineering at Reply. Contact me

View my LinkedIn profile


Powered by discountASP.NET
referal ID: sdtref
Why recommend discountASP.NET?
$720 in referrals so far!


Calendar

<<  February 2012  >>
MoTuWeThFrSaSu
303112345
6789101112
13141516171819
20212223242526
2728291234
567891011

View posts in large calendar

Disclaimer

The posts on this weblog are provided AS IS with no warranties, and confer no rights. The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.



Querying email addresses in a Google Spreadsheet

April 08 2010 1:19AM

I’ve been playing around with Google Spreadsheets and was attempting to query for an email address stored within a column. It’s pretty straight forward, or at least so I thought, but kept running into the error:

Parse error: Invalid token encountered

And stumbled around for awhile trying to URL encode various parts of the query string which looks something like this:

http://spreadsheets.google.com/feeds/list/myDoc/mySheet/private/full?sq={email}%3djohn@doe.com

The documentation states query operators need to be encoded so I tried applying that to parts of my query with no luck. Eventually, I threw some quotes around the email address and voila, it worked!

http://spreadsheets.google.com/feeds/list/myDoc/mySheet/private/full?sq={email}%3d"john@doe.com"

I eventually found this thread validating my findings and indicating my original query might have worked as recently as last December.

FacebookDel.icio.usDigg It!

Tags: howto

Add comment




  Country flag
biuquote
  • Comment
  • Preview
Loading