


Kotlin - Iterate over each character in string.Kotlin - Get character at specific index in string.Kotlin - Convert string to set of characters.Kotlin - Convert list of characters to string.Kotlin - Convert string to list of characters.Kotlin - Split string by one or more spaces.Kotlin - Split string by any whitespace character.Kotlin - Trim white spaces around string.Kotlin - Remove last N haracters from string.Kotlin - Remove first N characters from string.Kotlin - Get random character from string.Kotlin - Count number of words in string.Kotlin - Check is string matches regular expression.Kotlin - Check if string ends with specific character.


HumanValue(id = "abcdefg", gamesPlayed=0, gamesWon=0, removed=false) HumanValue(id = "abcdef", gamesPlayed=12, gamesWon=12, removed=false), HumanValue(id = "abcde", gamesPlayed=6, gamesWon=3, removed=true), HumanValue(id = "abc", gamesPlayed=12, gamesWon=7, removed=false), HumanValue(id = "abcdef", gamesPlayed=12, gamesWon=12, removed=false) HumanValue(id = "abcde", gamesPlayed=6, gamesWon=3, removed=false), HumanValue(id = "abcd", gamesPlayed=1, gamesWon=0, removed=false), HumanValue(id = "abc", gamesPlayed=7, gamesWon=4, removed=false), I have two lists that look roughly like this: val localList = listOf(
