[Instance Method] split(maxSplits:omittingEmptySubsequences:whereSeparator:)
Steady On
print(line.split(omittingEmptySubsequences: false, whereSeparator: { $0 == " " })) // Prints "["BLANCHE:", "", "", "I", "don\'t", "want", "realism.", "I", "want", "magic!"]" print(line.split(maxSplits: 1, whereSeparator: { $0 == " " })) // Prints "["BLANCHE:", " I don\'t want realism. I want magic!"]" Returns the longest possible subsequences of the collection, in order, that don’t contain elem..