Advertisement
Guest User

Untitled

a guest
Nov 17th, 2013
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Prelude Data.List> isInfixOf "abc" "abcmhk"
  2. True
  3. Prelude Data.List> isInfixOf "abc" "uyabcmhk"
  4. True
  5. Prelude Data.List> isInfixOf "abc" "okaibcmhk"
  6. False
  7. Prelude Data.List> isInfixOf "abc" "amnabkaaabcmhk"
  8. True
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement