unique =: 1 = +/@:=&boxopen Henry Rich
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Jimmy Miller > Sent: Tuesday, June 12, 2007 4:10 PM > To: [email protected] > Subject: [Jprogramming] Finding unique strings in a box > > If I have a box of strings such as this: > > box =. 'ab';'ab';'bc' > > What's the best way to tell if a string within the box is > unique? For example: > > 'bc' unique box NB. Should return true > 'ab' unique box NB. Should return false > > -- > <a > href="http://www.spreadfirefox.com/?q=affiliates&id=153516&t=1 > "><textarea > rows="3" cols="40">Get Firefox!</a> > ---------------------------------------------------------------------- > For information about J forums see > http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
