dim s$, s1$, s2$, i%, temp$ s = "cbl0.6" for i = 1 to len(s) temp = mid(s, i, 1) if asc(temp) > 47 and asc(temp) < 58 then exit for next s1 = left$(s, i - 1) s2 = right$(s, len(s) - (i - 1)) debug.print s1, s2