substring method
The substring of this string from start
,inclusive, to end
, exclusive.
Example:
var string = 'dartlang'; string.substring(1); // 'artlang' string.substring(1, 4); // 'art'
Implementation
String substring(int start, [int? end]);
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-core/String/substring.html