Array to string

juggernot

Well-known member
Joined
Sep 28, 2006
Messages
173
Programming Experience
Beginner
This is probably very easy, and I'm embarrassed for not finding a way to do it myself, but here it is. I've been experimenting with the System.Diagnostics.Process , trying to obtain a list of current processes. I've got it to save to an array variable, but I don't know how to take that array and display it as a string.
 
Not sure if this would work, but loop through your array:

btw, Don't trust the syntax, it may be wrong, I just wanted to give you an idea of what to do...

VB.NET:
Dim strString as String
 
For i = 0 to YourArray().length-1
 
[COLOR=black]  strString += YourArray(i)[/COLOR]
 
[COLOR=black]Loop[/COLOR]
 
Back
Top