' Collection of code snippets by Arne Vajhøj 
' (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
Imports System
Module Main
    Sub Main()
        Dim s1 as String
                s1 = "1,Tekst1,2,Tekst2,3,Tekst3"
                Dim s2() as String
                s2 = s1.Split(",")
                Dim s3(3,2) as String
                Dim i,j As Integer
                For i = 1 to 3
                        for j = 1 to 2
                                s3(i,j) = s2(2*(i-1)+j-1)
                        Next
                Next
                For i = 1 to 3
                        for j = 1 to 2
                                Console.WriteLine(s3(i,j))
                        Next
                Next
    End Sub
End Module
