Returns a concatenation of the strings for the specified type from all the items in the receiver that contain the type.
- macOS 10.0+
The pasteboard data type to read.
A concatenation of the strings for the specified type from all the items in the receiver that contain the type, or
nil if none of the items contain strings of the specified type.
This method invokes
data(for to obtain the string. If the string cannot be obtained,
data(for for a description of what will cause
nil to be returned.
In macOS 10.6 and later, if the receiver contains multiple items that can provide string, RTF, or RTFD data, the text data from each item is returned as a combined result separated by newlines.