i have a ini file where i read my data
Ini File
myString=xxx;xxxxx;Alpha|Gamma
In my code i have a Select Case
In this case i want to put myString i do that
Dim _sString As String = myIniFile.myString.Data
In Data i have
Alpha|Gamma
i Split my sString
Dim _sWords As String() = _sString.Split(New char() {"|"c})
and i can do my Select Case
Select Case myValue
Case _sWords(0), _sWords(1)
...
My question is how can i do if in my Ini file i have x value
myString=xxx;xxxxx;Alpha|Gamma|…….
How can i do for my Select Case consider my news values .?
Your question is a bit difficult to comprehend, but I’ll take a shot:
In your post, I’m not sure where “myValue” is coming from or what it is. That might help.