cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Weed out a Matrix

ppal
17-Peridot

Weed out a Matrix

Lets say I have:

ppal_0-1648590513418.png

I want to Weed("v","n","p","h","j") and end up with ["k" "l" "m" "n" "o"]

 

or Weed ("v" "w" "x" "y" "z")

So this should take out the first row and I am left with:

ppal_1-1648590747433.png

What would be the easiest way?

 

 

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:ppal)

Maybe something like this:

Werner_E_0-1648595968555.png

BTW, from this and your previous posts I am not convinced that your datastructure of having each character as separate string is the optimal one as its rather limiting IMHO. But of course I have no idea what you are actually trying to achieve at the end (hope its not just playing Wordle 😉

 

 

View solution in original post

3 REPLIES 3
Werner_E
25-Diamond I
(To:ppal)

Maybe something like this:

Werner_E_0-1648595968555.png

BTW, from this and your previous posts I am not convinced that your datastructure of having each character as separate string is the optimal one as its rather limiting IMHO. But of course I have no idea what you are actually trying to achieve at the end (hope its not just playing Wordle 😉

 

 

ppal
17-Peridot
(To:Werner_E)

I use https://word.tips/wordle/  for wordle.

ppal
17-Peridot
(To:Werner_E)

you "have no idea what you are actually trying to achieve" ? . The problem is I have no idea so I have to ask. Really appreciate the forums help. Specially the time Luc-Meeks did a whole program for me to read a comtrade file. Much appreciated.

Announcements

Top Tags