Question : dart split string
Answered by : akbarali
void main() { String str1 = "Today, is, Thursday"; print("New String: ${str1.split(',')}");
}
Source : | Last Update : Sat, 20 Nov 21
Question : dart array split
Answered by : confused-cat-s1cjijjgm5y2
var string = "Hello world!";
string.split(" "); // ['Hello', 'world!'];
Source : https://api.flutter.dev/flutter/dart-core/String/split.html | Last Update : Sat, 26 Dec 20