Coder1010
Coder1010

Reputation: 29

How to get a string into an array using vbscript?

I have a randomly generated string which is generated at runtime.

I want to capture the value of that string into an array such that

Please help

Upvotes: 1

Views: 19984

Answers (1)

Daniel
Daniel

Reputation: 13122

In VBscript use the Split function:

dim myArray, myString
myString = "This is an example"
myArray = Split(myString)

Upvotes: 2

Related Questions