i have a problem with delimiter. i need to get some values from line. i have a string like this
someString = 1 2 3
i need to get someString and decimal values. i use delimiter like this "[= ]". but it doesnt take white spaces for delimiter. i try to use it like this "[ = ]" it doesnt work either. i used almost everithing. I used trim(), i used loats of combinations in delimiter (without = , with some other white spaces ...), but it doesnt work. what am i doing wrong? thanks a lot.
why not just use .split() to make an array, then loop through all the entries. If it parses cleanly, its an int, if not, go to the next entry
i was just wondering if there is some way for delimiter. my program actually works , but i dont thing its done properly.