Kotlin by JetBrains on X: "Use the partition function to split a collection into two lists based on a predicate. The function returns a pair of lists: the first contains all elements
Java String split() Method with examples
How to Split a String by Space in Go Language
how to count the number of words in Kotlin Android? - Stack Overflow