String Length

1 min read

String length is use to show your data length
ex:
// String length
void main() {
String str = 'Hii How';
print(str.length);
}
create a String str variable and print str.length data to show your sentence length
0
Subscribe to my newsletter
Read articles from Jeet Bhalu directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by

Jeet Bhalu
Jeet Bhalu
i am Jeet Bhalu i am flutter App developer