I have a piece of text that has a number I want but I don't know how to take out the number.

2 comments

0

Use string.sub, string.find, or string.match to find that number in the string, and use tonumber() to make the extracted number into an actual number

0

string.find worked