The phrase  (#e) + e&(E.i.1:)  uses the new  N V V  fork
introduced in J6.01.  You could replace it by  (#e)"_ + e&(E.i.1:) .

The second version that I sent:

> Need to handle cuts which have the beginning string
> but do not have the ending string:
> 
> delete=: 4 : 0
>  's e'=. y
>  b=. s E. x
>  k=. b i. 1
>  bx=. b <;.1 x
>  c=. e&(+./@E.)&> bx
>  (k{.x) , ; bx (I.c)}~ ((#e)&+@(e&(E.i.1:)) }. ])&.> c#bx
> )

works under J5.04 if you replaced x y by x. y. .



----- Original Message -----
From: JC Coez <[EMAIL PROTECTED]>
Date: Monday, July 10, 2006 2:47 am
Subject: Re: [Jprogramming] String manipulation

> Thanks to R&S HUI, but I am unable ( or maybe stupid ?) to delete 
> under 
> J5.04
> 
> delete=: 4 : 0
> 's e'=. y.
> b=. s E. x.
> k=. b i. 1
> (k{.x.) , ; (((#e) + e&(E.i.1:)) }. ])&.> (#s) }.&.> b <;.1 x.
> )
> 
> I don't know how to display in an editm box characters with 
> accent, that's 
> the reason why I need to go back to J5.04.


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

Reply via email to