xxxxxxxxxx
void main(){
int n1=12345;
print(n1.toString().split(''));
xxxxxxxxxx
void main() {
String sentence = "Hello, how are you today?";
List<String> words = sentence.split(" "); // Splitting by space
print(words); // Output: [Hello,, how, are, you, today?]
}