Search:

Type: Posts; User: Norm

Search: Search took 0.11 seconds.

  1. Replies
    3
    Views
    1,321

    Re: StringBuffer Problem

    If the sentence variable is a StringBuffer, then you'll have to use its methods.
  2. Replies
    3
    Views
    1,321

    Re: StringBuffer Problem

    Put the code in a loop and have the indexOf method start each search past the changed location.
    Or read the API doc for the String class to see if it has other useful methods.
Results 1 to 2 of 2