Find a string

  • + 7 comments

    len([i for i in range(len(s)) if s[i:i+len(b)] == b])