String Length

String Length

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