I have a piece of text that has a number I want but I don't know how to take out the number.
COMMUNITY QUESTION
How do you get a number out of a string which has the number in it? [SOLVED]
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
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
string.find worked