Noogλe
search input
Function of the day
Cut a string with a separator and produces a list of strings which were separated by this separator.
Inputs
sep- 1. Function argument
s- 2. Function argument
Type
splitString :: String -> String -> [String]Examples
lib.strings.splitStringusage examplesplitString "." "foo.bar.baz" => [ "foo" "bar" "baz" ] splitString "/" "/usr/local/bin" => [ "" "usr" "local" "bin" ]