Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Getting every object in a string separated by commas?

Asked by 6 years ago

That's all. Thanks! (I'm familiar with string.match string.find and string.gmatch but I'm not sure what the pattern for this is.)

1
If the string is a list of objects' name, then use: string.gmatch( STRING , "%a+") thesit123 509 — 6y
1
I think "[^,]+" (everything except commas) cabbler 1942 — 6y

Answer this question