I figured out this mechanism:
Code: Select all
for i = 1, #lol, 1 do
if lol[i] == value then
table.remove(lol,i)
print(i)
end
end
Code: Select all
for (String thing : a) {
if (thing.equals(b)) {
print("Found it!");
}
}
To the point:
Can somebody improve my first code so it deletes EVERYTHING with the contents of "value".
A plus tard,
rokit boy (I'm not French, but I like French)