|
-
Nov 30th, 2003, 04:14 AM
#1
Thread Starter
Addicted Member
Explode a string VB 6.0 (Resolved)
Hi how can i explode a string value down to its single characters in VB 6.0 ??
Last edited by señorbadger; Nov 30th, 2003 at 03:37 PM.
-
Nov 30th, 2003, 04:47 AM
#2
Member
Hi,
Try the following code:
<vbcode>
Dim i as Integer, x as String
For i = 1 to len(YourStringVariable)
x = mid(YourStringVariable,i,1)
'Put your code here where x is the splitted string...
Next i
</vbcode>
I hope this helps.
Bye & regards,
Ravi.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|