While searching mail in Google, we use the sytax like
from:devcoder hasattachments:true mySearchString on:11-aug
or
mySearchString from:devcoder on:11-aug anotherSearchKeyword
After parsing, I should get the keyvalue pair such as (from, devcoder), (on, 11-aug).
What is the best way to implement this parsing in c#.
To Linq-ify Jason’s answer: