StrataFrame Forum
Back
Login
Login
Home
»
.NET Forums
»
General .NET Discussion
»
Converting String array to Integer array
Converting String array to Integer array
Post Reply
Like
0
Converting String array to Integer array
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Trent Taylor
Trent Taylor
posted 17 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
Cycle through the string array and add it into an Integer Generic list.
Dim loInt As New System.Collections.Generic.List(Of Integer)
Dim lcString As String
For Each lcString In laStrings
loInt.Add(Integer.Parse(lcString))
Next
Return loInt.ToArray()
Reply
Like
0
StarkMike
StarkMike
posted 17 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 436,
Visits: 944
What would be the best way to convert a string array (consisting of integers) to an integer array?
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search