@@ -103,6 +103,8 @@ foldr = Native.String.foldr
104 split "," "cat,dog,cow" == ["cat","dog","cow"]
104 split "," "cat,dog,cow" == ["cat","dog","cow"]
105 split "/" "home/evan/Desktop/" == ["home","evan","Desktop"]
105 split "/" "home/evan/Desktop/" == ["home","evan","Desktop"]
107+Use `Regex.split` if you need something more flexible.
107split : String -> String -> [String]
109split : String -> String -> [String]
108split = Native.String.split
110split = Native.String.split
@@ -241,6 +243,8 @@ all = Native.String.all
241 contains "the" "theory" == True
243 contains "the" "theory" == True
242 contains "hat" "theory" == False
244 contains "hat" "theory" == False
243 contains "THE" "theory" == False
245 contains "THE" "theory" == False
247+Use `Regex.contains` if you need something more flexible.
245contains : String -> String -> Bool
249contains : String -> String -> Bool
246contains = Native.String.contains
250contains = Native.String.contains