miércoles, 7 de noviembre de 2018

Matchcollection to array

Dim matches As MatchCollection = Regex.Matches(query, "(?<=from|join|FROM|JOIN)(\s+\w+\b)")
        Dim tablas() As String = matches.Cast(Of Match).Select(Function(y As Match) y.Value).ToArray

No hay comentarios.:

Publicar un comentario