Android String Replace replace(String source, CharSequence target, CharSequence replacement)

Here you can find the source of replace(String source, CharSequence target, CharSequence replacement)

Description

replace

Declaration

public static final String replace(String source, CharSequence target,
            CharSequence replacement) 

Method Source Code

//package com.java2s;

public class Main {
    public static final String replace(String source, CharSequence target,
            CharSequence replacement) {
        if (source != null) {
            return source.replace(target, replacement);
        }/*from  ww  w  . j  a va2  s.  c  o  m*/
        return null;
    }
}

Related

  1. replaceBlank(String str)
  2. removeIllegal(String input)
  3. replace(String s, String[] oldSubs, char[] newSubs)
  4. replace(String s, char oldSub, String newSub)
  5. replace(String s, char oldSub, char newSub)
  6. replaceChar(String source, String subject, String object)
  7. replaceSpaceCharacter(String string)
  8. collapse(String str, String chars, String replacement)
  9. collapseControlChars(String str, String replacement)