Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

split_n

String.split_n

split string at s, for at most n occurrences of s

if s occurs in the string less than n times, the resulting list will have
less than n elements
Precondition
pre
  debug: !s.is_empty
  debug: n > 0
0.095dev (GIT hash 09dff08de289bbb6f7136c7e2f8c66dcc1856bba)
last changed: 2026-04-16