String name = payChannelListDTO.getName();
String subNameA = name.substring(0, name.indexOf("(")+1);
String subNameB = name.substring(name.indexOf(")"));
String quStr=name.substring(name.indexOf("(")+1,name.indexOf(")"));
String replace = subNameB.replace("\\n", "\n");//遇到\n换行(可不加)
SpannableString ss = new SpannableString(quStr);
ForegroundColorSpan span = new ForegroundColorSpan(Color.RED);
ss.setSpan(span, 0, quStr.length(), Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);