NumExtract-func
This function takes a mixed string "str$" and returns the count-th consecutive digit block. If count is omitted it defaults to 1 (i.e. return the first block).
string NumExtract(string str$[, int count])$
str$
count
Returns the count-th consecutive digit block in str$.
numextract("1-413-586-2013",2)$=; //should return 413 numextract("1-413-586-2013",0)$=; //should return 2013 numextract("Jan-12")=; //should return 12, "-" in a string will not be treated as minus sign
NumBreak