Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Scaevolus
Apr 16, 2007

Thermopyle posted:

Smart app updates that only send out the part of the apps that have changed.
They say it makes the average update 1/3 as large, but hopefully it's better for big apps where most updates are minor code changes.

Adbot
ADBOT LOVES YOU

Scaevolus
Apr 16, 2007

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("|") ?

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply