Remove characters within a certain ASCII range from a string
? rangerem ("0","9","year2002.dbf") // "year.dbf", remove all digits
? rangerem ("9","0","year2002.dbf") // "22", testing removal from "9" to chr(255)
// and from chr(0) to "0"
? rangerem ("0","9","yearcurr.dbf") // "yearcurr.dbf", test leaving string untouched
Tests
rangerem ("0","9","year2002.dbf") == "year.dbf"
rangerem ("9","0","year2002.dbf") == "22"
rangerem ("0","9","yearcurr.dbf") == "yearcurr.dbf"