Documentation Language: Swift

Method

split(maxSplits:omittingEmptySubsequences:whereSeparator:)

Inherited from Collection.split(maxSplits:omittingEmptySubsequences:whereSeparator:).

func split(maxSplits: Int = Int.max, omittingEmptySubsequences: Bool = true, whereSeparator isSeparator: (Self.Element) throws -> Bool) rethrows -> [Self.SubSequence]