lib.lang
クラス String
lib.lang.Object
|
+--lib.lang.String
- public class String
- extends Object
文字列を表現するクラスです。
- 導入されたバージョン:
- 1999/12/24
String
public String(char[] string)
String
public String(char[] string,
boolean mustDelete)
String
public String(String string)
length
public int length()
toCharArray
public char[] toCharArray()
charAt
public char charAt(int index)
equals
public boolean equals(String target)
equals
public boolean equals(char[] target)
equalsIgnoreCase
public boolean equalsIgnoreCase(String target)
equalsIgnoreCase
public boolean equalsIgnoreCase(char[] target)
startsWith
public boolean startsWith(String target)
startsWith
public boolean startsWith(char[] target)
endsWith
public boolean endsWith(String target)
endsWith
public boolean endsWith(char[] target)
concat
public String concat(String addend)
operator_plus
public String operator_plus(String addend)
substring
public String substring(int begin,
int end)
indexOf
public int indexOf(char c)
lastIndexOf
public int lastIndexOf(char c)
trim
public String trim()
toInteger
public int toInteger()
toDouble
public double toDouble()
valueOf
public String valueOf(int value)
valueOf
public String valueOf(double value)