content/flux/v0/stdlib/strings/splitafter.md
strings.splitAfter() splits a string after a specified separator and returns an array of substrings.
Split substrings include the separator, t.
(t: string, v: string) => [string]
{{% caption %}} For more information, see Function type signatures. {{% /caption %}}
({{< req >}}) String value to split.
({{< req >}}) String value that acts as the separator.
import "strings"
strings.splitAfter(v: "foo, bar, baz, quz", t: ", ")// Returns ["foo, ", "bar, ", "baz, ", "quz"]