You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Splits the first argument (input) each time it encounters the second argument (pattern), where pattern is a POSIX ERE. This is the inverse of the sep function for a fixed pattern.
One impetus for this is to support deserialization of a delimited string to a string array.
Another option would be to add an optional second parameter to read_lines for the delimiter, which would default to \n.
The text was updated successfully, but these errors were encountered:
Array[String] split(String, String)
Splits the first argument (
input
) each time it encounters the second argument (pattern
), wherepattern
is a POSIX ERE. This is the inverse of thesep
function for a fixed pattern.One impetus for this is to support deserialization of a delimited string to a string array.
Another option would be to add an optional second parameter to
read_lines
for the delimiter, which would default to\n
.The text was updated successfully, but these errors were encountered: