Re: A function that expands value() and more

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu