Ma la mid si applica a valori stringa, per cui prova a fare:
codice:
<%
variabile1 = cint(variabile1)

variabile1 = Cstr(mid(variabile1,16,6))
%>