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 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