Re: A function that expands value() and more
- Posted by Senator May 24, 2018
- 1649 views
Welcome to the forum!
Just an observation. The function does not "Gets any numerical value at any position on a string", but rather gets or extracts the first numerical value found in the string and appends any subsequent numerical symbols to the initial numerical value.
print(1, val("This string includes the numbers 42 18 36.")) -- outputs -- 421816 instead of -- 42 18 16
Regards,
Ken Rhodes