char[] to string

How do I convert a character array to a string?

var myString = String(charArray);

–Eric