Limit the excerpt with characters in wordpress

function new_excerpt_length($length) {
return 150;
}
add_filter(‘excerpt_length’, ‘new_excerpt_length’);