📜  java 将 char 转换为 CharSequence - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:50.005000             🧑  作者: Mango

代码示例2
String a = "abc";
    String b = "anthony";
    char c = a.charAt(0);
    b.contains("" + c);
    b.contains(String.valueOf(c));