string
Allows the client to specify a single string for searching.
Declaration
optional var string: String { get }Discussion
If the client cannot logically or efficiently flatten itself into a single string, then the string(at:effectiveRange:endsWithSearchBoundary:) and stringLength() methods should be implemented instead.