I'd be inclined to try transforming your list of starting indicies and
lengths into a boolean suitable as a left argument to dyadic cut (;.). For
your example:
   '|*' (e.~ ];._1 ]) str
ab

111

cd

222




On Wed, Dec 10, 2014 at 7:27 AM, Brian Schott <[email protected]>
wrote:

> Joe,
>
> Is this relevant?
>
> str(<@[{&>~([<@:+i.@])/"1@:]) (0,2),(3,3),(7,2),:(10,3)
>
>
>
>
> --
> (B=)
> ----------------------------------------------------------------------
> 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