Breaking the string in certain number of characters
<p>I am looking for the shortest, elegant way to break the unicode string in to certain number of character.</p>

<p>I am having the div enter code herewith different language strings. I am breaking the string after certain number of characters. But for capital and small letters in English there was UI distortion.</p>

<p>I am looking for some workaround to break the string uniform way for any Unicode or capital character or numbers so UI remains intact.</p>

<pre><code>&lt;html&gt;
&lt;head&gt;
 &lt;title&gt;test &lt;/title&gt;
&lt;style&gt;
  .contri-title
{
float:left;
width:625px;
background-color:#fff0f0;
}

}
&lt;/style&gt;
 &lt;/head&gt;
 &lt;body&gt;
&lt;div class="contri-title bottom-part" id="art_title"&gt;AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA&lt;/div&gt;
&lt;br&gt;
&lt;div class="contri-title bottom-part" id="art_title"&gt;aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&lt;/div&gt;
 &lt;/body&gt;
&lt;/html&gt; 
</code></pre>
