I have some query regarding documentation provided by apple at this https://developer.apple.com/documentation/swift/string
Why documentation doesn't contain components(separatedBy:)
method . Instead inside "Splitting a String" section new method split(separator:maxSplits:omittingEmptySubsequences:
is added by apple.