And more interesting things.
2j1 1 0j1 1#!.'*' 'abcd'
aa*b*d
On Fri, Apr 16, 2021, 10:34 AM Devon McCormick wrote:
> For replacing the masked characters:
>mask}chars,:'.'NB. Replace with .s
> A.CD.F.HIJKLM
> or
>'XYZ' (I.mask)}chars NB. Replace with specific characters
> AX
A big THANK YOU to all who replied! Your methods worked exactly as I
had hoped! Thanks again!
Harvey
--
For information about J forums see http://www.jsoftware.com/forums.htm
For replacing the masked characters:
mask}chars,:'.'NB. Replace with .s
A.CD.F.HIJKLM
or
'XYZ' (I.mask)}chars NB. Replace with specific characters
AXCDYFZHIJKLM
On Fri, Apr 16, 2021 at 10:28 AM Jimmy Gauvin
wrote:
> You might also be interested in the inverse of copy
>
> 1 0 0 0
You might also be interested in the inverse of copy
1 0 0 0 1 0 1 #^:_1 'abc'
a b c
I remember I had a hard time finding expand
On Fri, Apr 16, 2021 at 1:53 AM ethiejiesa via Programming <
programm...@jsoftware.com> wrote:
> Is monadic # what you're looking for?
>
>mask # chars
>