Search:

Type: Posts; User: dcshoecousa

Search: Search took 0.12 seconds.

  1. Replies
    7
    Views
    1,684

    Re: replacement substring

    still can't seem to get the method to work - can you see anything wrong?


    public static replace String replaceEach(sourceString, oldString, newString)
    {
    Stringbuilder sourceString =...
  2. Replies
    7
    Views
    1,684

    Re: replacement substring

    lol - no I'm still asking.

    This method needs to replace the old substring with the new one;

    public static String replaceEach(String source, String oldString, String newString)
    {
    method to...
  3. Replies
    7
    Views
    1,684

    Re: replacement substring

    yeh using replaceAll() to replace the old version with the new version from the source string.
  4. Replies
    7
    Views
    1,684

    replacement substring

    Hi there all, just trying to create a method to replace a old substring with a new one - i have denoted these by putting Source(source string), old(old substring string), new(new substring to replace...
Results 1 to 4 of 4