[Solved] How to split string array?


After splitting the string, you end up with an array of song names. That array has an undefined number of items inside so you cannot just reference abcd[0] and abcd[1] and expect to see all songs. You need another loop that will iterate through all your song names in variable abcd.

Maybe I did not understand properly though, if variable abcd contains just one song name and you are just splitting to get the different pices of information for that song, then here is what is happening: you are looping through all the songs but you are overwriting txtTitle and txt2 everytime, so in the end, you end up with only the last one showing.

1

solved How to split string array?