load'html-tools.ijs '
query 'QUERY_STRING'
+-----+-------+
|first|Jack |
+-----+-------+
|mi |E |
+-----+-------+
|last |Howland|
+-----+-------+
# 0{ 1{ query 'QUERY_STRING'
1
1{ query 'QUERY_STRING'
+--+-+
|mi|E|
+--+-+
# 0{ >1{ query 'QUERY_STRING'
2
getenv
2!:5
< ;. 1 ' now is the time to do'
+----+---+----+-----+---+---+
| now| is| the| time| to| do|
+----+---+----+-----+---+---+
< ;. 2 'now is the time to do '
+----+---+----+-----+---+---+
|now |is |the |time |to |do |
+----+---+----+-----+---+---+
< ;. _1 ' now is the time to do'
+---+--+---+----+--+--+
|now|is|the|time|to|do|
+---+--+---+----+--+--+
< ;. _2 'now is the time to do '
+---+--+---+----+--+--+
|now|is|the|time|to|do|
+---+--+---+----+--+--+
< ;. _2 (1 2 3 __ 4 5 __ 6 7 8 __)
+-----+---+-----+
|1 2 3|4 5|6 7 8|
+-----+---+-----+
< ;. _2 (<1 2 3) , (<'fret') , (<'hi there') , <'fret'
+-------+----------+
|+-----+|+--------+|
||1 2 3|||hi there||
|+-----+|+--------+|
+-------+----------+
(<1 2 3) , (<'fret') , (<'hi there') , <'fret'
+-----+----+--------+----+
|1 2 3|fret|hi there|fret|
+-----+----+--------+----+
r =: getenv'QUERY_STRING'
r
first=Jack&mi=E&last=Howland
(, & '&') r
first=Jack&mi=E&last=Howland&
( < ;. _2 @ (, & '&'))r
+----------+----+------------+
|first=Jack|mi=E|last=Howland|
+----------+----+------------+
(,&'=' &. >)@( < ;. _2 @ (, & '&'))r
+-----------+-----+-------------+
|first=Jack=|mi=E=|last=Howland=|
+-----------+-----+-------------+
(< ;. _2 &. >)@(,&'=' &. >)@( < ;. _2 @ (, & '&'))r
+------------+------+--------------+
|+-----+----+|+--+-+|+----+-------+|
||first|Jack|||mi|E|||last|Howland||
|+-----+----+|+--+-+|+----+-------+|
+------------+------+--------------+
>@(< ;. _2 &. >)@(,&'=' &. >)@( < ;. _2 @ (, & '&'))r
+-----+-------+
|first|Jack |
+-----+-------+
|mi |E |
+-----+-------+
|last |Howland|
+-----+-------+
do '3+'
invalid J expresson
do '3+4'
7
htd =: 3 : ' 16 16 #. ''0123456789ABCDEF''i. y.'
htd '2B'
43
(htd '2B') { a.
+
htd1 =: (16 16 & #.)@ ('0123456789ABCDEF'&i.)
htd1 '2b'
48
htd1 '2B'
43
unmungle'2%2B3+%2B+4'
2+3+++4