@mid
Posted: Tue Jul 15, 2014 3:51 am
Hello,
I'm trying to use this combination of commands:
smpl if @mid(@str(ocup), 3, 1) = "2"
but the programme doesn't read it, what am i doing wrong?
The sample is something like this and i want to extract the third number which can be 0, 1 or 3:
10313
10313
99997
20311
80311
20312
30314
5002
40312
82314
34323
I am creating a dummy so that a can generate a series with the diffrents third numbers in this sample.
I'm trying to use this combination of commands:
smpl if @mid(@str(ocup), 3, 1) = "2"
but the programme doesn't read it, what am i doing wrong?
The sample is something like this and i want to extract the third number which can be 0, 1 or 3:
10313
10313
99997
20311
80311
20312
30314
5002
40312
82314
34323
I am creating a dummy so that a can generate a series with the diffrents third numbers in this sample.