Check EOL on trimmed line in order to handle blanks after semicolon correctly