Here's a slightly modified version:
Code:
On Error Resume Next
Dim strtemp As String, x As String
Dim i As Integer
strtemp = InputBox("Enter string here")
Do
i = i + 1
x = ""
x = Mid(strtemp, i, 1)
Loop While x <> ""
MsgBox i - 1
__________________
http://myxp.blogspot.com
-----------------------
Winchester 3200+ @2,500MHz
LeadTek 7900GT VOLT MODDED @ 680 core, 1800 mem
2x1GB Transcend DDR400 @ DDR454 2.5,3,3,5,1T
|