Skip to content

Instantly share code, notes, and snippets.

@NPS-ARCN-CAKN
Last active August 29, 2015 14:18
Show Gist options
  • Save NPS-ARCN-CAKN/8f1dde62ff7da76f44e2 to your computer and use it in GitHub Desktop.
Save NPS-ARCN-CAKN/8f1dde62ff7da76f44e2 to your computer and use it in GitHub Desktop.
VB: Loop through a list of comma separated values
Dim MyString As String = "Fish, Cat, Dog"
Dim MyList() As String = MyString.Split(",")
For Each Item As String In MyList
MsgBox(Item)
Next
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment