Sorry for the bad title, didn't know how to explain properly. I basically have a string like this
astring = "100, 200, 300, 400"
and I want to make this not a string, just 100, 200, 300, 400 (I'm trying to use string.char but I need it to be a number not a string and tonumber errors for me) how would I do this? thanks!

2 comments
Do you want to turn this into a number table?
to be specific i'm creating a plugin and using string.gsub, string.char etc, i'm changing the sources of scripts and I need to be able to do string.char(100, 200, 300 ,400) instead of string.char(astring) which is "100, 200, 300 ,400"