use string method IndexOf to find the semicolon from text.
IndexOf:
This method finds the first index of the char argument. It returns -1 if the char was not found.
e.g.
string x = txtValue.Text;
bool hasSemicolon = x.IndexOf(';') == -1 ? false : true;