U E D R , A S I H C RSS

데블스캠프2011/셋째날/String만들기 (rev. 1.3)

데블스캠프2011/셋째날/String만들기

  • 사용 언어 : C++

String str = new String("abcdef");
함수
charAt str.charAt(3) == 'd'
compareTo
compareToIgnoreCase
concat str.concat(str) == "abcdefabcdef"
contains str.contains("bcd") == TRUE
endsWith str.endsWith("ef") == TRUE
startsWith str.startsWith("abc") == TRUE
equals str.equals(new String("abcdef")) == TRUE
equalsIgnoreCase str.equalsIgnoreCase(new String("ABcdEf")) == TRUE
indexOf
isEmpty
lastIndexOf
length
replace
split
subString
format
trim
toLower
toUpper
valueOf
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:29:13
Processing time 0.0520 sec