$('element').text().split(' ')[0]

get the first word from a string jquery

Similar Code Examples