Hello i'm having some difficulty with this problem. I'm getting a list of word from a textbox wich look like this: Whatever#2, word, is, there
Then im splitting up that line with the , identifier and put it in a array lets say x(). Now i have another array named y() which gonna resplit each word with the identifier "#"
so in the final i have an array named y(0) which contain the word and sometime y(1) which contain a number. But when i try to check with an if statement if y(1) is nothing i get an IndexOutofRangeException because there is nothing in it... I know there is nothing but how to check it in code please? I'm confused.
Thanks for reply!![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Then im splitting up that line with the , identifier and put it in a array lets say x(). Now i have another array named y() which gonna resplit each word with the identifier "#"
so in the final i have an array named y(0) which contain the word and sometime y(1) which contain a number. But when i try to check with an if statement if y(1) is nothing i get an IndexOutofRangeException because there is nothing in it... I know there is nothing but how to check it in code please? I'm confused.
Thanks for reply!