|
Thermopyle posted:Smart app updates that only send out the part of the apps that have changed.
|
# ¿ Jun 29, 2012 23:08 |
|
|
# ¿ May 3, 2024 20:07 |
|
Suran37 posted:I seem to have run into a problem. I am parsing XML data from a website, which runs fine, however when I try to split the resulting info into strings using a delimiter I run into problems. The result I am trying to parse is "2012-07-05 22:26:15|Iska Delmen|1512154763|GoonWaffe|667531913", so I set the delimiter to "|" and try to pull each part using a scanner with .next(), .next(), .nextInt(), .next(), .nextInt(). What I get when I try to print them out is 2, 0, 1, 2 and then it crashes because "-" isn't an integer. So, am I using delimiters wrong or what, because I cannot figure out why it is doing that. String[] fields = "2012-07-05 22:26:15|Iska Delmen|1512154763|GoonWaffe|667531913".split("|") ?
|
# ¿ Jul 6, 2012 00:02 |