Obtaining a field in Names.nsf file

I have code in a form that looks up who the user’s manager is like this:@NameLookup([Exhaustive]; @UserName; “Manager”)

When I run it, it looks like this:

;Gary Beckmann/Graham

I am trying to get rid of the ; because it cannot find this person when I do an email to this Manager. It works fine on another user who uses Release 6.5.3. I just upgraded today to Release 6.5.4 and I wonder if this is the problem?

Subject: Obtaining a field in Names.nsf file

var := @NameLookup([Exhaustive]; @UserName; “Manager”);

@if(@Contains(var;“;”);@Right(var;“;”);var)

Subject: RE: Obtaining a field in Names.nsf file

This did not work