18.10.2017, 10:43
Do you mean like using the T9 System properly (so if you call 555-NASE the number will be 5556273 (letters resolved to numbers, - removed))?
Maybe test it before posting, because that code will not work at all.
You put IsNumeric (which returns 1 or 0) as string argument into strcmp (why?), furthermore it will skip one '-' if there are two in a row. You must go back one index when deleting (well, you must stay where you are because Index 7 will become Index 6 when deleting Index 6, but the loop will continue to 7 anyway)!
Maybe test it before posting, because that code will not work at all.
You put IsNumeric (which returns 1 or 0) as string argument into strcmp (why?), furthermore it will skip one '-' if there are two in a row. You must go back one index when deleting (well, you must stay where you are because Index 7 will become Index 6 when deleting Index 6, but the loop will continue to 7 anyway)!