Search:

Type: Posts; User: Stockholm Syndrome

Search: Search took 0.18 seconds.

  1. Replies
    8
    Views
    10,595

    [SOLVED] Re: How to Iterate through a string?

    Yea this is much easier to understand, thanks a lot man :)
  2. Replies
    8
    Views
    10,595

    [SOLVED] Re: How to Iterate through a string?

    Thanks for your help i completely misunderstood the assignment. But we havnt been introduced to arrays yet at all so i really dont know how to use them & it also means the problem can be solved...
  3. Replies
    8
    Views
    10,595

    [SOLVED] Re: How to Iterate through a string?

    Thanks, Could you tell me how i can stop the "System.out.println(s.replaceAll("ie", "ie"); from being repeated in the code below? Basically I want it to replace any 'ie' combination in the string...
  4. Replies
    8
    Views
    10,595

    [SOLVED] Re: How to Iterate through a string?

    Sorry, but I'm still not sure how to do that. The exercise sheet gave a hint to use the charAt() method to go through each character of the string until it found an 'i' and then to check if the next...
  5. Replies
    8
    Views
    10,595

    [SOLVED] How to Iterate through a string?

    Hi everyone,

    This is my first time posting on this forum, as i've only recently started studying java. I'm still learning the basics and I'm having difficulty trying to solve a certain problem...
Results 1 to 5 of 6