﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » .NET Forums » General .NET Discussion  » Converting String array to Integer array</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Sun, 05 Apr 2026 14:27:14 GMT</lastBuildDate><ttl>20</ttl><item><title>Converting String array to Integer array</title><link>http://forum.strataframe.net/FindPost6181.aspx</link><description>What would be the best way to convert a string array (consisting of integers) to an integer array?</description><pubDate>Wed, 24 Jan 2007 15:26:25 GMT</pubDate><dc:creator>StarkMike</dc:creator></item><item><title>RE: Converting String array to Integer array</title><link>http://forum.strataframe.net/FindPost6184.aspx</link><description>Cycle through the string array and add it into an Integer Generic list.&lt;P&gt;[codesnippet]&lt;BR&gt;Dim loInt As New System.Collections.Generic.List(Of Integer)&lt;BR&gt;Dim lcString As String&lt;BR&gt;&lt;BR&gt;For Each lcString In laStrings&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; loInt.Add(Integer.Parse(lcString))&lt;BR&gt;Next&lt;BR&gt;Return loInt.ToArray()[/codesnippet]&lt;/P&gt;&lt;P&gt;&lt;BR&gt;&amp;nbsp;</description><pubDate>Wed, 24 Jan 2007 15:26:25 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>