We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7aec0e3 + 5bf639a commit 9968b3fCopy full SHA for 9968b3f
src/Data/String.purs
@@ -187,8 +187,9 @@ foreign import drop :: Int -> String -> String
187
-- | of the string for which the predicate holds.
188
foreign import count :: (Char -> Boolean) -> String -> Int
189
190
--- | Returns the substrings of the first string separated along occurences
191
--- | of the second string.
+-- | Returns the substrings of the second string separated along occurences
+-- | of the first string.
192
+-- | * `split " " "hello world" == ["hello", "world"]`
193
foreign import split :: String -> String -> Array String
194
195
-- | Converts the string into an array of characters.
0 commit comments