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

split_after_n

String.split_after_n

split string after 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
  !s.is_empty
  n > 0

Arguments

s String[src]
n u32[src]
0.099dev (GIT hash e2d5298d8107bb5fe79600fdb06a49bc75756344)
last changed: 2026-11-23