Search:

Type: Posts; User: sanelko

Search: Search took 0.35 seconds.

  1. Replies
    5
    Views
    1,237

    [SOLVED] Re: Replacing words in a text file

    Wait I got it, that was really simple haha. Thanks for the help I really appreciate it!
  2. Replies
    5
    Views
    1,237

    [SOLVED] Re: Replacing words in a text file

    Oh I see. so the open index is at 9 and the closed index is 14 thus the marker goes from <9,5> and substring can't go backwards. I can't think of another way to do it though...
  3. Replies
    5
    Views
    1,237

    [SOLVED] Re: Replacing words in a text file

    Thanks, well I tried to do that and now I'm getting an error I just can't seem to figure out.
    I try to run

    int openIndex = line.indexOf("<");
    int closeIndex = line.indexOf(">");
    String marker =...
  4. Replies
    5
    Views
    1,237

    [SOLVED] Replacing words in a text file

    Hello. I am going to be reading from a .txt file line by line in which the lines will have "fill in the blanks" so to say. For example, one of the lines of text might read

    both of you <verb>...
Results 1 to 4 of 4