Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions String.ark
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,8 @@
# =end
# @author https://github.com/Natendrtfm
(let split (fun (_string _separator) {
(assert (not (empty? _separator)) "string:split expected a non-empty separator")

(mut _at (find _string _separator))
(let _seplen (len _separator))
(let _strlen (len _string))
Expand Down
Loading