特定の長さの部分文字列を使用して特殊文字を追加する方法はありますか?
String example= "abcde & fghijk";
System.out.printLn("(StringUtils.substring(StringEscapeUtils.escapeXml(example)),0,12));
current output("abcde & f")
expected output("abcde & fghij")
助けてください。ありがとう
特定の長さの部分文字列を使用して特殊文字を追加する方法はありますか?
String example= "abcde & fghijk";
System.out.printLn("(StringUtils.substring(StringEscapeUtils.escapeXml(example)),0,12));
current output("abcde & f")
expected output("abcde & fghij")
助けてください。ありがとう