Page 1 of 1

select strings containing "a"

Posted: Fri Feb 12, 2010 6:41 am
by minijim
Hi,

I'd like to know if there is a command to select all the observations from an alpha series containing, for example, "a".
I've tried, unsuccessfully, the following :
smpl @all if name="*a*"

Thanks in advance

Re: select strings containing "a"

Posted: Fri Feb 12, 2010 9:07 am
by EViews Gareth
smpl if @instr(name,"a")>0

Re: select strings containing "a"

Posted: Fri Feb 12, 2010 9:19 am
by minijim
Thanks a lot :D