And I get 'qweårtaäasösdf'/:'abcdefghijklmnopqrstuvwxyzåäö' i. 'qweårtaäasösdf' aadefqrsstwå 9!:14 '' j602/2008-03-03/16:45
On Wed, May 25, 2011 at 10:00 AM, Gian Medri <[email protected]> wrote: > Hi! > 1) I have a problem with sorting with the Swedish alphabet that contains 3 > extra letters after z. > Example: > /:~'qweårtaäasösdf' > aadefqrsstw������ > > Perhaps it depends on the limitation of "a. "? > > 2) Often I encounter the necessity to replace element x by element y in an > array. > I solved the problem in an APL fashion such as: > repl=: 4 : '($y)$ (1{x) (((0{x)=,y)#i.*/$y)},y' NB. replace x1 in array y > by x2 > > This verb works OK for any array, but I wonder if there is a better J-way > to do it. > > Thanks > Gian Medri > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
