Answers for "split string dart"

2

dart split string

void main() { 
   String str1 = "Today, is, Thursday"; 
   print("New String: ${str1.split(',')}"); 
}
Posted by: Guest on November-13-2021
1

dart array split

var string = "Hello world!";
string.split(" ");                      // ['Hello', 'world!'];
Posted by: Guest on December-19-2020

Code answers related to "Dart"

Browse Popular Code Answers by Language