Re: A function that expands value() and more
- Posted by euphoric (admin) May 26, 2018
- 1543 views
jpartridge said...
petelomax said...
euphoric said...
Senator said...
Just an observation.
So, the function should output a sequence of found values. In the case above, it would return {42,18,36}.
You can do this in Phix:
string s = "This string includes the numbers 42 18 36." sequence res = scanf(" "&s,"%s %d%s") pp(res,{pp_StrFmt,-2}) ?vslice(res,2)
Output:
Your code sure seems nice, euphoric.
Not my code!