_2 tells to take the last item and us it to cut and leave it out of the results
from the Dictionary
file:///C:/Program%20Files/j602/help/dictionary/d331.htm
"The fret 0{y (the leading item of y) marks the start of an interval
of items of y ; the phrase u;.1 y applies u to each such interval. The
phrase u;._1 y differs only in that frets are excluded from the
result. In u;.2 and u;._2 the fret is the last item, and marks the
ends of intervals."
2010/3/1 Elmer Fittery <[email protected]>:
> Can anybody explain the following:
>
> <;._2'as 1s 2s 3s 4s 5s 6s 7s 8s 9s ts js qs ks'
> +-+--+--+--+--+--+--+--+--+--+--+--+--+--+
> |a| 1| 2| 3| 4| 5| 6| 7| 8| 9| t| j| q| k|
> +-+--+--+--+--+--+--+--+--+--+--+--+--+--+
> <;._2'as 1s 2s 3s 4s 5s 6s 7s 8s 9s ts js qs ks '
> +--+--+--+--+--+--+--+--+--+--+--+--+--+--+
> |as|1s|2s|3s|4s|5s|6s|7s|8s|9s|ts|js|qs|ks|
> +--+--+--+--+--+--+--+--+--+--+--+--+--+--+
>
> In the first example, no space is at the end of the
> string between ' and '.
>
> In the second case there is an extra space at the end.
>
> anybody?
>
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
--
Björn Helgason, Verkfræðingur
Fornustekkum II
781 Hornafirði
Po Box 127,801 Selfoss ,
t-póst: [email protected]
gsm: +3546985532
sími: +3544781286
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