Page 2 of 2 FirstFirst 12
Results 21 to 23 of 23
  1. #21
    Junky's Avatar
    Junky is offline Grand Poobah
    Join Date
    Jan 2011
    Location
    Dystopia
    Posts
    3,755
    Rep Power
    7

    Default

    Call me lazy. Call me selfish. But I'm not going to waste my time typing up a bunch of stuff that is already present in multiple text books and online tutorials.

    Had you gone "here's what I tried but it still isn't working or making sense" then I could have gone into a more indepth explanation.

    Case in point: look at one of the other threads about a PriorityQueue not being sorted. I know exactly what the problem is but I want them to think about it themselves and if they still have trouble I can provide the solution.

  2. #22
    yosi199 is offline Member
    Join Date
    Mar 2011
    Posts
    18
    Rep Power
    0

    Default

    Quote Originally Posted by Junky View Post
    Call me lazy. Call me selfish. But I'm not going to waste my time typing up a bunch of stuff that is already present in multiple text books and online tutorials.

    Had you gone "here's what I tried but it still isn't working or making sense" then I could have gone into a more indepth explanation.

    Case in point: look at one of the other threads about a PriorityQueue not being sorted. I know exactly what the problem is but I want them to think about it themselves and if they still have trouble I can provide the solution.
    Well I know that you mean good by letting us thinker with the material...
    I understand and next time I will try to explain my efforts about the subject I've asked about

  3. #23
    sehudson's Avatar
    sehudson is offline Senior Member
    Join Date
    Mar 2010
    Posts
    340
    Rep Power
    5

    Default

    no problem,

    I guess this goes without saying, but your delimiter can be anything. You can split a string that is formatted like:

    4*2*12*5 or 4%3%23%88

    whatever, just pass your delimiter into your split argument i.e, split("*")

Page 2 of 2 FirstFirst 12

Similar Threads

  1. problem in spliting a text
    By vipinvijay in forum New To Java
    Replies: 3
    Last Post: 01-10-2011, 10:09 PM
  2. Spliting a string (45 Characters)
    By BobAmin in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 11-20-2010, 09:45 AM
  3. spliting a string and checking each token's format
    By Implode in forum New To Java
    Replies: 1
    Last Post: 10-18-2009, 08:41 PM
  4. Spliting the Panel to three panels
    By suraw in forum New To Java
    Replies: 0
    Last Post: 03-25-2009, 06:05 PM
  5. Spliting desktop
    By nagarte in forum AWT / Swing
    Replies: 5
    Last Post: 05-05-2008, 12:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •