Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
»

fields_func

String.fields_func

(p Unary bool codepoint)
 => 
Sequence String
[Contains abstract features]
Splits this string at codepoints where p is true and returns the result as a
list of strings. In case multiple, neighboring codepoints in the string are
evaluated to be true by p, this does not cause empty strings to be added to
the result list, rather this case is being treated as being one big separator.
0.094dev (2025-06-18 15:08:51 GIT hash 89cffc23ae669b0898a5564fefbf793fcb8e5ca7 built by fridi@fzen)