In Dart, you can use the String
method to extract a substring from a string.
// sunstring in dart
void main()
{
String str= "Hello Jeet how are you!";
print(str.substring(0,8));
}
In Dart, you can use the String
method to extract a substring from a string.
// sunstring in dart
void main()
{
String str= "Hello Jeet how are you!";
print(str.substring(0,8));
}