Search:

Type: Posts; User: fortune2k

Search: Search took 0.08 seconds.

  1. Replies
    10
    Views
    4,331

    Re: Seraching for String highlight all matches

    Right sorry for all the confusion I have managed to get it working now apart from 1 minor detail i cant get the counter for the ammount of matches



    private void...
  2. Replies
    10
    Views
    4,331

    Re: Seraching for String highlight all matches

    im sorry im really getting confussed here I have been trying various different aproaches but still nothing heres what i have



    boolean i = true;
    while(i == true)
    {

    index =...
  3. Replies
    10
    Views
    4,331

    Re: Seraching for String highlight all matches

    I dont know how to step along the string without using a for loop any ideas?
  4. Replies
    10
    Views
    4,331

    Re: Seraching for String highlight all matches

    sorry there is no error message but the for loop loops round tooo many times and not effiecient. It uses .Lenght()

    java.​lang.​String
    public int length()
    Returns the length of this string....
  5. Replies
    10
    Views
    4,331

    Re: Seraching for String highlight all matches

    Right I have managed to get it to work however it does'nt work the best . The main bit im concerned with is the for loop. Any iodeas how I can optimize this ? The for loop overruns the ammount of...
  6. Replies
    10
    Views
    4,331

    Seraching for String highlight all matches

    Hi Guys,

    This is my first post so hopefully nothing goes wrong.

    Right my java language knowledge is not the best in the world and im trying to make a program which reads in a file to ...
Results 1 to 6 of 6