String h;
h=(String) Tok.nextElement();
System.out.println("" + ++n +": "+h);
h.trim();
System.out.println("The length of h :"+n+h.length());
wordlist[now]=h;
System.out.println("Now length is"+wordlist[now].length());
Run Code Online (Sandbox Code Playgroud)
这个"\ u0B9A\u0BBF\u0BAF\u0BA9"是分配给h的字符串.输出是
h的长度:128
现在长度是41
我完全糊涂了:(请帮忙.抱歉.pblm不是运营商,但长度也注意h的长度是128 !!其中实际长度是28