Java Char to String charToString(char[] values)

Here you can find the source of charToString(char[] values)

Description

char To String

License

Open Source License

Declaration

public static String[] charToString(char[] values) 

Method Source Code

//package com.java2s;

public class Main {
    public static String[] charToString(char[] values) {
        if (values == null) {
            return null;
        }//from   www  .  jav  a  2  s . c o  m

        String[] results = new String[values.length];
        for (int i = 0; i < values.length; i++) {
            results[i] = String.valueOf(values[i]);
        }
        return results;
    }
}

Related

  1. charToString(char c)
  2. charToString(char ch)
  3. charToString(final char value)