Tokenizing VB code from java
I am trying to tokenize Visual Basic (VB) code from java using StreamTokenizer. I am having problem tokenizing the codes because they do not have any delimiters such as ';'. What i did was, i tried checking for space as delimiter to separate different lines of codes. Using StringTokenizer is not an option.
I was expecting the following code would separate tokens based on space (which has ascii value of 32 in integer). But it doesn't work.
//work with separated codes.
Thank you beforehand