Learn why container technology is so powerful and how it can provide your team with productivity gains and other benefits.
Private Function ParseLine(ByVal oneLine As String) As String() ' Returns an array containing the values of the comma-separated fields. ' This pattern actually recognizes the correct commas. ' The Regex.Split() command later gets text between the commas. Dim pattern As String = ",(?=(?:[^""]*""[^""]*"")*(?![^""]*""))" Dim r As System.Text.RegularExpressions.Regex = New System.Text.RegularExpressions.Regex(pattern) Return r.Split(oneLine) End Function
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.