分享至
朋友圈
微信
qq空间
qq
微博
复制
str = "a1b2c3d4" mystr = str.split("").select { |e| e if ("a".."z").include? e } p mystr