We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6843c74 + 332077b commit 1a2df5bCopy full SHA for 1a2df5b
src/Data/String.purs
@@ -228,7 +228,7 @@ foreign import count :: (Char -> Boolean) -> String -> Int
228
229
-- | Returns the substrings of the second string separated along occurences
230
-- | of the first string.
231
--- | * `split " " "hello world" == ["hello", "world"]`
+-- | * `split (Pattern " ") "hello world" == ["hello", "world"]`
232
foreign import split :: Pattern -> String -> Array String
233
234
-- | Returns the substrings of split at the given index, if the index is within bounds.
0 commit comments