Thre're multiple ways to do that
lcName = "Moises Francisco Pereira"
? GETWORDNUM(lcName,1)
? STREXTRACT(lcName,"", SPACE(1))
? ALINES(laList, lcName,1+4,SPACE(1))
? laList[1]
>
>The function you showed seems complex because has title as mr. mrs, dr, etc
>
>I just want something more simple
>
>I am considering using length function
>
>Do you know how to locate the first space after the first name, so I can use lengt() to delimit the first name ?
--sb--