[EpiData-list] substring in data entry check file

epidata-list at lists.umanitoba.ca epidata-list at lists.umanitoba.ca
Sun Nov 21 12:29:57 CST 2010


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 at 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




More information about the EpiData-list mailing list