#'[:|:((i.|.-.)~(a.{~65 97+/i.26)&(*@#.@e.,@#[))"0'
48
#'|:@((i.|.-.)~(a.{~65 97+/i.26)&(*@#.@e.,@#[))"0'
47
I don't remember ever seeing monadic e. used. Sweet.
---
(B=)
On Aug 27, 2012, at 7:04 PM, Raul Miller <[email protected]> wrote:
> Borrowing some ideas from other people in this thread:
>
> f=:[:|:((i.|.-.)~(a.{~65 97+/i.26)&(*@#.@e.,@#[))"0
>
> Example uses:
> f 'a'
> f '-'
> f 'C.'
>
> --
> Raul
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm