---bill lam wrote:
> I would first trim all trailing spaces in pinv, test if
> length of any column in pinv is greater than that of pplinv,
> then there must be no match, otherwise adjust the length pinv
> as what you did and do comparison.
> eg.
> +./ (dtb&.>p3) >&({:@$&>) pplinv
> 1
> so that no match.
>
I was thinking along those lines to start with, but I don't think it
works if you are looking up more than 1 person at once (e.g p2,:each
p3). If one name is too long, then there will be no match.
pplinv tindexof1 p,:each p3
4 501
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm