I want to get that number.I am assuming that this will be accomplished with a string method…but I do not know how to implement it exactly.
For instance how am I going to assign the value in that name attribute to a variable so I can than use the string method.
it’s a different approach. and it relies on your target number to be the only number in the string. for me it’s too unspecific for this case (it also matches signed floats/integers, which are outside this question’s context).