thanks for the response. Based on your clue, I did some experimenting and found that putting a space before the @string and the whole thing within quotes gave results. i.e. " @time"
or " @btime"
so basically the sequence "
+ <space>
+ @
+ searchString
+ "
seems to work.