Substring function in EpiData Entry
![](https://secure.gravatar.com/avatar/f174b9816ccce31bf5cdb49501b15358.jpg?s=120&d=mm&r=g)
1 Jan
2008
1 Jan
'08
12:32 p.m.
Happy New Year to all!
In EpiData Analysis, you can state:
if substr(varx,3,2)="YY" then vary="XX"
Would anybody know if there is an equivalent to that in EpiData Entry?
Thank you,
Hans
![](https://secure.gravatar.com/avatar/f174b9816ccce31bf5cdb49501b15358.jpg?s=120&d=mm&r=g)
1 Jan
1 Jan
3:19 p.m.
See the Entry help for the function COPY Entry does not include the function SUBSTR; Analysis allows both as equivalent functions. remember that in Entry, the syntax is IF conditions THEN statements ELSE statements ENDIF
Jamie Bonne année à tous!
Hans wrote:
In EpiData Analysis, you can state:
if substr(varx,3,2)="YY" then vary="XX"
Would anybody know if there is an equivalent to that in EpiData Entry?
6020
Age (days ago)
6020
Last active (days ago)
1 comments
1 participants
participants (1)
-
epidata-list@lists.umanitoba.ca