how to split the data from sqlite. i need to separate data by each sentence(means split by .)
<pre><code>    String subTopicsArray [] = detail.split("\\. ");
    StringBuffer splitTopics = new StringBuffer();

    for(int i=0; i&lt;subTopicsArray.length; i++){     
        String abc=subTopicsArray[i].trim();
        if (abc.length() &gt; 0)
        {
        splitTopics.append(i+1+") "+subTopicsArray[i].trim()+"."+"\n" );
        splitTopics.append("\n");
        }
</code></pre>

<p>Am using this but am getting two dots for last sentence</p>
