For example, if we write:
If the string does't have "-", a error occurs. So, how can we call a function just it is possible?
In my case, I use a ".find()" to find some words and copy the contents in front of them. Somethimes, I copy numbers (OK); however, sometimes I copy numbers in the following ways:
a. [15]
b. 14 [16]
c. 10 - 20
I use "If IsNumeric(number)" to see if it's not numeric and and if it needs to be fixed:
It was working, but I don't know how to solve when appears the kind b: "14 [16]". Because it enters to the last "else" and, how it doesn't has "-", so the program stops.
Bookmarks