Working with string and replace
<p>Ok So i have something like this:</p>

<pre><code>String str = "Have.Fun.Something";
String str2 = "asd.sad.saw.sa.Something";
</code></pre>

<p>and i wanna remove all things from last char until first "." so output will be always </p>

<blockquote>
  <p>Something</p>
</blockquote>
