|
-
May 26th, 2013, 04:58 PM
#8
Re: Splitting string and adding contents into listview columns.
 Originally Posted by .paul.
I copied his code I didn't write that.
 Originally Posted by ComYOU
I currently got
Code:
Dim splitStr() As String = readStr.Split("#")
Dim SplitArrayLength As Integer = 0
Dim x As String = "#"
For Each x In readStr
SplitArrayLength = SplitArrayLength + 1
Next
Dim Len As Integer = 3
For i As Integer = 0 To SplitArrayLength - Len Step Len
userList.Items.Add(New ListViewItem(New String() {splitStr(i), splitStr(i + 1), splitStr(i + 2)}))
Next
<<<------------
.NET Programming (2012 - 2018)
®Crestron - DMC-T Certified Programmer | Software Developer <<<------------
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
|