Trim ratings strings