21 Nov
2010
21 Nov
'10
6:29 p.m.
In EpiData Analysis V2.2.1.172:
String variable VARX, value "ABCDEFGH" substr(VARX,2,3) gvies BCD
Press F1 and click "Functions" to see more details.
Hans
On 20:59, epidata-list@lists.umanitoba.ca wrote:
Hi,
In epi info 6.04d for DOS it is possible to take a substring using square brackets to index the characters wanted, e.g. firstname[1,1] gives the first letter of the firstname field. Is there anyway to do this in epidata? Using [1,1] like this does not seem to work. It does not throw an error, it just does not do what I want it to do (fill in another field).
Thanks.
David