Strtok JavaScript

$('#element').val().split(':')[0]
takemetothelakeswhereallthepoetswenttodie