📜  java char 到 charsequence - Java 代码示例

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

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