tags:

views:

744

answers:

2

Hi all, Is there any way by which we can get each character from a string using vbscripts.I had used the Mid function but i just wann know if there are any direct functions which when used returns each character starting from a string.

Thanks Maddy

A: 

AFAIK, Mid is the only way to do this.

Helen
Thanks a lot Helen.
+4  A: 
strString = "test"
For i=1 To Len(strString)
    WScript.Echo Mid(strString,i,1)
Next
ghostdog74