Hi how can i explode a string value down to its single characters in VB 6.0 ??
Printable View
Hi how can i explode a string value down to its single characters in VB 6.0 ??
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.