whats the problem ?how should we write this?!Code:dim a() as String=section.Attributes("type").Value.Split(new char(){','})
Printable View
whats the problem ?how should we write this?!Code:dim a() as String=section.Attributes("type").Value.Split(new char(){','})
What do you mean? Are you getting an error?
What are you trying to do with that?
Is section an XMLNode? Also Split returns an array but you didn't specific what element in the array to assign to the string.
Try:
dim a() as String=section.Attributes("type").Value.Split(new char(){','})(0)
yeah section is a xmlnode, the only thing was that i had to use " instead of '
Code:dim a() as String=section.Attributes("type").Value.Split(new char(){","})