Hi!
I'm wondering how can I get integer type of array easier of the numbers
in string type variable when numbers are separated with comma ",".
I made it like code below, but obviously there is an easier way to do it.
'// Readed string from ConfigurationSettings
Dim strNums As String = "10,20,30,40"
Dim arrStr As String() = strNums.Split(Char.Parse(","))
Dim arrInt(arrStr.Length - 1) As Integer
For i As Integer = 0 To arrStr.Length - 1
arrInt(i) = CType(arrStr(i), Integer)
Next
....code continues
--
Thanks in advance!
Mika