}:@:,@:(,.&' ') 'Sassa'
S a s s a
   ,&.:(,&' '"1)@,. 'Sassa'
S a s s a
 
Henry Rich

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> ???????????? ????????? ????????
> Sent: Wednesday, March 22, 2006 9:08 AM
> To: [email protected]
> Subject: [Jprogramming] Inserting spaces
> 
> Hello guys. 
> 
> I have  just started learning J and got some problems with 
> TACIT form of thinking...
> Thus I'll be asking some silly question for first time :)
> 
> So the question is:
> I have a string of chars. I need to insert space between each 
> two characters. Sounds like a
> simple task, but I can't figure out how to compose a 
> corresponding verb.
> 
> Surely, I defined an explicit function solving this problem. 
> It looks like
> 
>          join =: 4 : 0 
>       x., ' ', y.
>       )
> 
> now this works as 
>          join / 'Sassa'
>       S a s s a
> 
> It works well but it is a still imperative. And I want to 
> learn to think in functionals.
> 
> I will be very joyful if you help me. 
> 
> Thanks a lot, and sorry if made some spam :) 
>       
>        Alexander Cherednichenko
>        [ the only way out is the way up ]
> ----------------------------------------------------------------------
> For information about J forums see 
> http://www.jsoftware.com/forums.htm

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

Reply via email to