E
Eu Fe
Do you understand why the last include gives false ?? It seems that the
limit is 24 characters, is it a bug ?
irb(main):001:0>
s="asdfasdfasdfasdfasdfppppppppppppppppppppppppasdfasdf"
=> "asdfasdfasdfasdfasdfppppppppppppppppppppppppasdfasdf"
irb(main):002:0> s1="pppppppppppppppppppppppp"
=> "pppppppppppppppppppppppp"
irb(main):003:0> s.include?(s1)
=> true
irb(main):004:0> s1="ppppppppppppppppppppppppasdf"
=> "ppppppppppppppppppppppppasdf"
irb(main):005:0> s.include?(s1)
=> false
limit is 24 characters, is it a bug ?
irb(main):001:0>
s="asdfasdfasdfasdfasdfppppppppppppppppppppppppasdfasdf"
=> "asdfasdfasdfasdfasdfppppppppppppppppppppppppasdfasdf"
irb(main):002:0> s1="pppppppppppppppppppppppp"
=> "pppppppppppppppppppppppp"
irb(main):003:0> s.include?(s1)
=> true
irb(main):004:0> s1="ppppppppppppppppppppppppasdf"
=> "ppppppppppppppppppppppppasdf"
irb(main):005:0> s.include?(s1)
=> false