string 

Send to Kindle
home » snippets » dart » string



Snippets

main() {
  var text = "012345";
  var substring = text.slice(0, 3);
  // prints 012.
  print(substring);
}