a=. 0 : 0 asd dfjgsdlkj jdsalk asd lfkj sdj alk asdf a asd asfja ) chop a ┌─────────────┬───────────────┬───┬──────────────┬─────┐ │asd dfjgsdlkj│jdsalk asd lfkj│sdj│alk asdf a asd│asfja│ └─────────────┴───────────────┴───┴──────────────┴─────┘ +/&.> ( <'asd') E. &.> chop a ┌─┬─┬─┬─┬─┐ │1│1│0│2│0│ └─┴─┴─┴─┴─┘
2011/11/10 Skip Cave <[email protected]> > Two questions, > > 1. I have a text array where each line is terminated with a line feed. How > do you box each line of that text array to create an array of boxed text > strings? > > 2. When you have an array of boxed text strings, how do you create a > boolean array that indicates which boxes contain a particular text string? > > Skip > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > -- Björn Helgason, Verkfræðingur Fornustekkum II 781 Hornafirði, t-póst: [email protected] gsm: +3546985532 twitter: @flugfiskur http://groups.google.com/group/J-Programming Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans góður kennari getur stigið á tær án þess að glansinn fari af skónum /|_ .-----------------------------------. ,' .\ / | Með léttri lund verður | ,--' _,' | Dagurinn í dag | / / | Enn betri en gærdagurinn | ( -. | `-----------------------------------' | ) | (\_ _/) (`-. '--.) (='.'=) ♖♘♗♕♔♙ `. )----' (")_(") ☃☠ ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
