T has a line feed at the end.

   T-:U,LF

1

On Fri, Dec 29, 2017 at 8:47 AM, Linda Alvord <[email protected]>
wrote:

> What is in T, that isn't in U?
>
> T=: 0 :0
> The cat's collar is laying outside Bill's porch.
> )
>
>
>    U=:'The cat''s collar is laying outside Bill''s porch.'
>    T-:U
> 0
>    ,. T;U
> ┌─────────────────────────────────────────────────┐
> │The cat's collar is laying outside Bill's porch. │
> ├─────────────────────────────────────────────────┤
> │The cat's collar is laying outside Bill's porch. │
> └─────────────────────────────────────────────────┘
>    $T
> 49
>    $U
> 48
>
>
> Linda
>
> -----Original Message-----
> From: Programming [mailto:[email protected]] On
> Behalf Of Linda Alvord
> Sent: Thursday, December 28, 2017 3:57 PM
> To: [email protected]
> Subject: Re: [Jprogramming] Boxing words
>
> Erling,  Your words in words:
>
> ;: ';:(>: ''''=T)#T'
> ┌──┬─┬──┬──┬─┬─┬─┬─┬─┐
> │;:│(│>:│''│=│T│)│#│T│
> └──┴─┴──┴──┴─┴─┴─┴─┴─┘
>
>
> Linda
>
> -----Original Message-----
> From: Programming [mailto:[email protected]] On
> Behalf Of Erling Hellenäs
> Sent: Thursday, December 28, 2017 3:14 PM
> To: [email protected]
> Subject: Re: [Jprogramming] Boxing words
>
> Hi all !
>
>     T=: 0 :0
> The cat's collar is laying outside Bill's porch.
> )
>     T
> The cat's collar is laying outside Bill's porch.
>
>     <@(<;._1@:(' '&,));._2 T
> ┌──────────────────────────────────────────────────┐
> │┌───┬─────┬──────┬──┬──────┬───────┬──────┬──────┐│
> ││The│cat's│collar│is│laying│outside│Bill's│porch.││
> │└───┴─────┴──────┴──┴──────┴───────┴──────┴──────┘│
> └──────────────────────────────────────────────────┘
>     ;:T
> ┌───┬───┬─────────────────────────────────┬─┬──────┬─┐
> │The│cat│'s collar is laying outside Bill'│s│porch.│ │
> └───┴───┴─────────────────────────────────┴─┴──────┴─┘
>     (>: ''''=T)#T
> The cat''s collar is laying outside Bill''s porch.
>
>     ;:(>: ''''=T)#T
> ┌───┬───┬──┬─┬──────┬──┬──────┬───────┬────┬──┬─┬──────┬─┐
> │The│cat│''│s│collar│is│laying│outside│Bill│''│s│porch.│ │
> └───┴───┴──┴─┴──────┴──┴──────┴───────┴────┴──┴─┴──────┴─┘
>
> Cheers,
> Erling Hellenäs
>
>
> On 2017-12-28 17:29, Dabrowski, Andrew John wrote:
> > Don't you need to double the inner apostrophes?
> >
> > On Dec 28, 2017 1:42 AM, 'Skip Cave' via Programming <
> [email protected]> wrote:
> > I have a lot of text that i want to work with, doing word counts,
> > phrase counts, etc.
> >
> > Here's a typical sentence:
> >
> > The cat's collar is laying outside Bill's porch.
> >
> > I want to box the words in this sentence using ;: .
> >
> >     ;: 'The cat's collar is laying outside Bill's porch.'
> >
> > |value error: Bill
> >
> > | ;: 'The cat's collar is laying outside Bill's porch.'
> >
> >
> > How do I box words with apostrophes in them?
> >
> >
> > Skip
> > ----------------------------------------------------------------------
> > For information about J forums see
> > https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.j
> > software.com%2Fforums.htm&data=02%7C01%7C%7Cd7ee9b8da09d4643681208d54e
> > 2f9d3c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636500888771168677
> > &sdata=iT9z6HxicmprKQQU4uxlpleToA1xI4a%2BeP18dBGY5Nc%3D&reserved=0
> >
> > ----------------------------------------------------------------------
> > For information about J forums see
> > https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.j
> > software.com%2Fforums.htm&data=02%7C01%7C%7Cd7ee9b8da09d4643681208d54e
> > 2f9d3c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636500888771168677
> > &sdata=iT9z6HxicmprKQQU4uxlpleToA1xI4a%2BeP18dBGY5Nc%3D&reserved=0
>
>
> ----------------------------------------------------------------------
> For information about J forums see https://eur03.safelinks.
> protection.outlook.com/?url=http%3A%2F%2Fwww.jsoftware.
> com%2Fforums.htm&data=02%7C01%7C%7Cd7ee9b8da09d4643681208d54e2f9d3c%
> 7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636500888771168677&sdata=
> iT9z6HxicmprKQQU4uxlpleToA1xI4a%2BeP18dBGY5Nc%3D&reserved=0
> ----------------------------------------------------------------------
> For information about J forums see https://eur03.safelinks.
> protection.outlook.com/?url=http%3A%2F%2Fwww.jsoftware.
> com%2Fforums.htm&data=02%7C01%7C%7Cd023d21cd0514d1a89dd08d54e358df5%
> 7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636500914276693937&sdata=
> 98Jt0%2ByUbzX3ihKT5pGAULMjjAHm8LzuBYGQYsuTT9k%3D&reserved=0
> ----------------------------------------------------------------------
> 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