If I have html like this:
This is some text First span text
$($('#listItem').contents()[0]).text()
Short variant of Stuart answer.
or with get()
get()
$($('#listItem').contents().get(0)).text()