Android String Replace replaceAllKanaWith(String text, String replacement)

Here you can find the source of replaceAllKanaWith(String text, String replacement)

Description

replace All Kana With

Declaration

public static String replaceAllKanaWith(String text, String replacement) 

Method Source Code

//package com.java2s;

public class Main {
    public static String replaceAllKanaWith(String text, String replacement) {
        return text.replaceAll("[\u3040-\u3096]", replacement);
    }//  w  w  w .jav a 2 s. c  o  m
}

Related

  1. replace(String line, String oldString, String newString)
  2. replace(String originalString, String searchString, String replaceString)
  3. replace(String str, Map replacementMap)
  4. replace(final String text, final String fromText, final String toText)
  5. replaceAll(String input, String searchStr, String replaceWithStr)
  6. replaceAllKanjiWith(String text, String replacement)
  7. replaceKeyWords(StringBuilder sb, String[] keywords, String replaceStr)
  8. replaceR(String str)
  9. replaceSpace(String str)