Grabs the text content from the given HTML string or node array based on the selector.
The HTML string or node array to search in.
The selector defining the node.
Optional
Options for getting the text content.
The text content of the node or an empty string if not found.
Grabs the text content from the given HTML string or node array based on the selector.