How to insert words from a string into a table in VB.NET

1 Answer

0 votes
Imports System

Public Class Test
    Public Shared Sub Main()
        Dim s As String = "c# javascript php c c++ python vb.net"
        Dim array() As String =  s.Split(" ")

        For Each item As String In array
            Console.WriteLine(item)
        Next

    End Sub
End Class



' run:
' 
' c#
' javascript
' php
' c
' c++
' python
' vb.net
'

 



answered Sep 8, 2019 by avibootz

Related questions

1 answer 160 views
2 answers 227 views
3 answers 180 views
1 answer 154 views
1 answer 157 views
...