:: reverse dictionary ::
※ソースファイルについて
◎各マークの意味
Pb:pubic Pr:protected S:static
文字列の文字数を求めるには、対象の文字列の length メソッドを使います。
String str = "Javaプログラム"; int len = str.length();
len は 9 になります。
java.lang.String Pb int length()
対象の文字列の文字数を求めます。
(半角、全角とも1文字と数えます)
対象の文字列の文字数
Copyright (C) 2005-2007 Noto Watabe. All rights reserved.
e-mail:wmh@always-pg.com