ok so ik ur gonna say:
just use table.find and make a table of the names u wanna find
but thats not what im trying to do, what i wanna do is search through a list with names i dont know and with varying lengths but with commas in between them so how would i do that?
example:
local names = "jdoasdo, mjnasdc0, do56tfs4ndasc"
--find their names in the STRING, NOT TABLE
I mean presumably, using a string split function (apparently Lua doesn’t have an inbuilt one, so give StackOverflow a search for one) and only then use table.find? I have to be honest - I’m not entirely sure on what the issue is