So after a bit more searching I found the way I was doing it was unnecessary, and was told to use the following:
function checkTextField (str) {
return str.substring(0, str.indexOf(';'));
}
$('#email_to').val(checkTextField($('#email_to').val()));
This seems to work perfectly, and it looks like I need to brush up on jQuery also!