I like that way of temporarily padding the ends with extra spaces to
mop up any already there.

On Thu, Jan 5, 2012 at 2:12 AM, Roger Hui <rogerhui.can...@gmail.com> wrote:
>   dbx=: #~ -.@('  '&E.)
>   db=: dbx&.(,&' ')&.(' '&,)
>
>   x=: 'the   better angels  of   our  nature'
>
>   '>',(db x),'<'
>>the better angels of our nature<
>   '>',(db ' ',x),'<'
>>the better angels of our nature<
>   '>',(db x,' '),'<'
>>the better angels of our nature<
>   '>',(db ' ',x,' '),'<'
>>the better angels of our nature<
>
>   '>',(db '     '),'<'
>><
>   '>',(db ''),'<'
>><
> ----------------------------------------------------------------------
> 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