Hi everybody,
I' m trying to parse an .m3u playlist file and I need to split a string (the whole m3u data actually) not in a single char or array of chars but a whole string instead.
For example I'd like to use:
Unfortunately by using the previous block of code I get an array of strings split at only the "#" while I'd like the whole "#EXT" to be used as delimiter for the split.
Any info would be much appreciated.
Thanks in advance..
PS: I'm a newbie in VB .NET so please excuse my lack of knowledge.
I' m trying to parse an .m3u playlist file and I need to split a string (the whole m3u data actually) not in a single char or array of chars but a whole string instead.
For example I'd like to use:
VB.NET:
Dim theM3U As String
theM3U = My.Computer.FileSystem.ReadAllText(System.Environment.CurrentDirectory & "\test01.m3u")
Dim theM3Uarray() As String
theM3Uarray = theM3U.Split("#EXT")
Unfortunately by using the previous block of code I get an array of strings split at only the "#" while I'd like the whole "#EXT" to be used as delimiter for the split.
Any info would be much appreciated.
Thanks in advance..
PS: I'm a newbie in VB .NET so please excuse my lack of knowledge.