ruby查找字符串测试
end
end
puts "s==>"
puts s
puts "e==>"
puts e
_html[s..e]
end
end
html="abcd_abcd"
s="a"
e="d"
puts get_part(html,:s=>/c/,:e=>"d")
#a="中国a"
#puts a.size
#puts a.length
#a="abc"
#puts a.size
#puts html.scan("ab")
#puts $&
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://haodehen.cn/did43315