摘要: 字符串处理函数1.返回字符串的长度str.length => integer2.判断字符串中是否包含另一个串str.include? other_str => true or false"hello".include? "lo" #=> true"hello".include? "ol" #... 阅读全文
posted @ 2014-04-25 10:44 曾是土木人 阅读(33858) 评论(0) 推荐(1) 编辑