title: How to convert String to String array in Kotlin?
body: <p>I want to know how I can convert one string or a String Object in a <code>String array</code> using kotlin.</p>
  
  <p>I made some research and found this JAVA code which seems to do what I need.</p>
  
  <pre><code>public static void main(String[] args) { 
  String word="abc";
          String[] array = new String[word.length()];
          for(int i = 0; i &lt; word.length(); i++)
          {
              array[i] = String.valueOf(word.charAt(i));
          }
  
          for(String a:array){
              System.out.println(a);
          }
  }
  </code></pre>
  
  <p>I expect to have something like this or better than it in Kotlin.</p>
  
  <p>Thanks in advance.</p>