[Jprogramming] cut in a special way

Skip Cave skip at caveconsulting.com
Sun Mar 26 16:27:19 UTC 2017


If you don't need the hyphens:

   > '-' cut 'an-as-tig-mat-ic'

an

as

tig

mat

ic

Skip Cave
Cave Consulting LLC

On Fri, Mar 24, 2017 at 5:33 AM, Gian Medri <gianmedri at gmail.com> wrote:

> Hi!
>
> I am sorry, I didn’t mentioned that I work with Swedish words.
>
> Raul solution
>
> fra=: >@(}.&.>~ #{.&-1:)@(<;.2@,&'-')
>
> works perfect ,the other
>
> _2 ;\;:
>
> only with English words.
>
>
> Thanks
>
>
> Gian Medri
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm


More information about the Programming mailing list