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 http://www.jsoftware.com/forums.htm

Reply via email to