On 9 August 2011 21:11, Marshall Lochbaum <[email protected]> wrote:
> Here's the selection option, which is equally ugly:
> ................

... and buggy :)

   shift 'AbC'
bCb

   shift 'XYZ'
|index error: shift


On 9 August 2011 22:15, Henry Rich <[email protected]> wrote:
>   'lc uc' =. +&(i.26)&.(a.&i.)"0 'aA'
>    p =. e.&uc
>    shift =. {~ (;@(<@(1&|.);.1) i.@#)@:-.@:p

   shift 'AbC'
Cb

   $ shift 'XYZ'
0
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to