logo
  • 教程列表
  • SO官方文档
  • ActiveSupport
    • 核心扩展字符串访问
    • 核心扩展字符串到日期时间转换
    • 核心扩展字符串排除
    • 核心扩展字符串过滤器
    • 核心扩展字符串变形
  1. StackOverflow 文档
  2. Ruby on Rails 教程
  3. ActiveSupport
  4. 核心扩展字符串排除

核心扩展字符串排除

Created: November-22, 2018

字符串#排除?

String#include? 的反转

"hello".exclude? "lo" # => false
"hello".exclude? "ol" # => true
"hello".exclude? ?h   # => false
  • 核心扩展字符串过滤器
  • 核心扩展字符串到日期时间转换

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 关于我们
  • 免责声明