07-09-2011, 07:53 AM
Uma, try this
'num has the value
Code:
for i=1 to len(UIBathResult)
if isnumeric(mid(UIBathResult,i,1))=true
num=mid(UIBathResult,i,1)
exit for
end if