Right now this takes a bunch of words separated by a comma and spits them up by the comma. My only issue is that the words after the comma have leading spaces. How would I remove leading and trailing spaces in strings?
for reqSkill in string.gmatch(skillData[6], '([^,]+)') do
print(reqSkill)
-- table.insert(PreReqSkills, reqSkill)
end
Is there a built in function for this?
