考虑我有这个矩阵:
02, 04, 06, 08, 10, 2
07, 14, 21, 28, 35, 2
11, 22, 33, 44, 55, 0
15, 14, 21, 28, 35, 2
我想拥有相同的矩阵,但只有行带有 last column = 2
。所以我想要这个矩阵:
02, 04, 06, 08, 10, 2
07, 14, 21, 28, 35, 2
15, 14, 21, 28, 35, 2
我可以解析所有矩阵,但还有其他方法吗?
编辑
更准确地说,我有一个带有字符串的单元格数组:
02, 04, Some String, 08, 10, 2
07, 14, Some String1, 28, 35, 2
11, 22, Some String1, 44, 55, 0
15, 14, Some String, 28, 35, 2