Don't worry, as long as you're using Kix, you're welcome on this board

try one of these:


; * Example with FullName

$last=@FULLNAME

while instr($last,' ')
   $last=substr($last,instr($last,' ')+1,len($last))
loop

$gwnaam=lcase(substr(@FULLNAME,1,1)+$last)

? $gwnaam


or


; * Example with UserID

$gwnaam=lcase(substr(@USERID,len(@USERID),1)+substr(@USERID,1,len(@USERID)-1))

? $gwnaam


HTH

[ 25 January 2002: Message edited by: DrillSergeant ]

_________________________
The Code is out there