gacky's report
mindia › gacky's report › 単語

文字列オブジェクトのメソッド

gacky · 2012-03-29 更新 · 履歴(1)
.length 
.upcase #大文字
.reverse #逆から
.index("任意の文字") #何文字目にあるか
.include?("任意の文字") #あるかどうか => true or false

タグ