2009-05-27から1日間の記事一覧

string型

メソッド メソッド名 戻り値 引数 効果 substring string int, int 文字列を切り取る。開始位置の数値は0から、終了位置は切り取りたい位置-1例)"0123".substring(0, 2)→"01"が返る