From: STEPHEN BECKER I V Date: 2004-09-28T23:13:52+09:00 Subject: rindex with array of arrays Should rindex work for an array of arrays? I am starting the playfair cypher, you get a key and append the alphabet to it then remove dups and change J to I, then make that in to a matrix . mat[0].rindex("b") works right but not mat.rindex("b") Do i need a string match type of thing? ####code def removedup(a) # i want to change a to an array then use uniq b=('a'..'z').to_a a<