The monad  ;:  is intended to parse J code, not general delimited strings.  So 
don't use it for general string manipulation.  Use
;.  or the standard cover verbs built upon it:

        <;._1 ' as 1s 9s'  NB.  Note leading space character
        require 'strings'
        ' ' cut 'as 1s 9s'    NB. Leading space not required by cover function

BTW, here's something you might like:

        { '23456789TJQKA';'DCHS'

or, if you have a fixed-width Unicode font that supports it:

        {'23456789TJQKA';u: 16b2666 16b2663 16b2665 16b2660

-Dan

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to