Page 1 of 1

Upper Value of Equation's Sample

Posted: Wed Mar 01, 2017 1:31 am
by diggetybo
The current output of my existing equation when accessing its sample data member, eq_01.@smpl is this:

09-12-2016 02/24/2017

I have also stored it in a string vector:

Code: Select all

svector eq_date = eq_01.@smpl
What I would like to do is only store the upper value of the date sample, i.e. 02/24/2017. Can anything be brought to bear here?

Re: Upper Value of Equation's Sample

Posted: Wed Mar 01, 2017 8:37 am
by EViews Gareth
Use the @word function to return the second part of the sample.