I’m writing a musical transposition application (in simple VB Console) and I want the program to split up a string of different notes separated with ;’s, looking like this:
'C blues scale
Dim strNotesString As String = "C; Eb; F; F#; G; Bb"
Can anyone recommend a way I can achieve this? I would put each separate note into an array.
Dim strTmpNotes() As String
strTmpNotes(0) = "C"
strTmpNotes(1) = "Eb"
'And so on
Thanks in advance
Nick
Use String.Split: