How to check that string further doesn't contain a dot : <p>Maybe someone could help me with this:</p>

<p>I have a string such as <code>"1.something"</code>, <code>"1.0.something"</code> or <code>1.0.0.something</code> </p>

<p>The question is how can I check that there is no more dot in <em>something</em> section? </p>

<p>Thank you.</p>
