Sobes.tech
Intern
145

Come convertire una stringa in un array di caratteri?

Risposta dell'AI

sobes.tech AI

// Преобразует строку в массив символов.
String str = "Hello, World!";
char[] charArray = str.toCharArray();