span package:utf8-string
Split a string into two parts: the first is the longest prefix that
contains only characters that satisfy the predicate; the second part
is the rest of the string. Invalid characters are passed as
'\0xFFFD' to the predicate.
Split a string into two parts: the first is the longest prefix that
contains only characters that satisfy the predicate; the second part
is the rest of the string. Invalid characters are passed as
'\0xFFFD' to the predicate.
Split a string into two parts: the first is the longest prefix that
contains only characters that satisfy the predicate; the second part
is the rest of the string. Invalid characters are passed as
'\0xFFFD' to the predicate.