eg=: 0 : 0
shan't                
shanghai              
shank                 
shannon               
shantung              
shanty                
)

6...@-.&' '  &> <;._2 eg
1 0 0 0 0 1

Quick and dirty - does it help?

Ric

> -----Original Message-----
> From: [email protected] [mailto:programming-
> [email protected]] On Behalf Of David Vincent-Jones
> Sent: Tuesday, 17 February 2009 10:22
> To: Programming forum
> Subject: Re: [Jprogramming] Apostrophe's .. Open Quote
> 
> Extracted from the unix-dictionary:
>    r2
> shan't
> shanghai
> shank
> shannon
> shantung
> shanty
>    $ r2
> 6 22
> 
> Which word(s) is/are 6 elements long?
> 
> 
> On Tue, 2009-02-17 at 09:54 +1300, Sherlock, Ric wrote:
> > Are you able to provide some example data?
> >
> > > -----Original Message-----
> > > From: [email protected] [mailto:programming-
> > > [email protected]] On Behalf Of David Vincent-Jones
> > > Sent: Tuesday, 17 February 2009 09:10
> > > To: JSoftware
> > > Subject: [Jprogramming] Apostrophe's .. Open Quote
> > >
> > > I am reading in a boxed list of words, some of which contain
> > > apostrophes. I am trying to compare word lengths that would include
> the
> > > apostrophe as one element in the length.
> > > I am assuming that the 'Sequential Machine' should be able to box
> > > individual words that include the ' but I am having a problem
> finding an
> > > example.
> > > Help would be appreciated.
> > >
> > > David
> > >
> > > --------------------------------------------------------------------
> --
> > > For information about J forums see
> http://www.jsoftware.com/forums.htm
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> 
> ----------------------------------------------------------------------
> 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