Thanks. I forgot all about dyad  -: .

   500000 (6!:2) '''stone'' -: ''one'''
1.37671e_6
   500000 (6!:2) '''stone'' =&.< ''one'''
2.65715e_6

2009/2/18 Björn Helgason <[email protected]>

>    'one' -:'two'
> 0
>  'one' -: 'one'
> 1
>
>
> 2009/2/18 Matthew Brand <[email protected]>
>
> > I am struggling to find a string comparison function.
> > So far I have come up with this:
> >
> > =&.<
> >
> > but is there a better or faster way to do it?
> >
> >   'one' =&.< 'two'
> > 0
> >   'one' =&.< 'one'
> > 1
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
>
>
>
> --
> Björn Helgason, Verkfræðingur
> Fugl&Fiskur ehf,
> Þerneyjarsundi 23, Hraunborgum
> Po Box 127,801 Selfoss ,
> t-póst: [email protected]
> gsm: +3546985532
> Landslags og skrúðgarðagerð, gröfuþjónusta
> http://groups.google.com/group/J-Programming
>
>
> Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans
>
> góður kennari getur stigið á tær án þess að glansinn fari af skónum
>         /|_      .-----------------------------------.
>        ,'  .\  /  | Með léttri lund verður        |
>    ,--'    _,'   | Dagurinn í dag                     |
>   /       /       | Enn betri en gærdagurinn  |
>  (   -.  |        `-----------------------------------'
>  |     ) |         (\_ _/)
>  (`-.  '--.)       (='.'=)
>  `. )----'        (")_(") ☃☠
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to