mikeydk
asked on
Substring (VB.NET)
Hey
I would like to get:
A
Ab
Abc
Abcd
...
When using the code i get: Conversion from string "A" to type 'Integer' is not valid.
Why and what to do?
Mike
I would like to get:
A
Ab
Abc
Abcd
...
When using the code i get: Conversion from string "A" to type 'Integer' is not valid.
Why and what to do?
Mike
sString = "Abcdefghijklmno"
i = 1
Do While i <> 10
j = sString.Substring(0, i)
MsgBox(j)
i = i + 1
Loop
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.