string to char[]