getting the sub string in the string buffer up to semi colon
<p>i want the substring of the string up to first semicolon 
<code>String s = "select *from dept;select *from emp;";</code>
Now i want to get the substring "select *from dept"of that string s
can any one help me ? </p>
