Short string format
<p>I've an array with hundreds of string values, Is it possible to use specific formats to make them shorter? </p>

<blockquote>
  <p>e.g</p>
  
  <p>Normal -> "Hello John, What's up?!"</p>
  
  <p>With short format -> "Hello John..."</p>
</blockquote>

<p>After using substring, I got errors.</p>

<pre><code>private String[] finalString;
for (int i = 0; i &lt; arrays.PodcastTitle.length; i++) {
    finalString[i] = arrays.PodcastTitle[i].substring(0, 5); 
}
</code></pre>
