In this guide, we will discuss string property length in Dart Programming Language. Returns the length of the string including space, tab and newline characters.
Syntax
String.length
Example
void main() { String str = "Hello All"; print("The length of the string is: ${str.length}"); }
It will produce the following output −.
The length of the string is: 9
Next Topic : Click Here
Pingback: String Property isEmpty | Adglob Infosystem Pvt Ltd
Pingback: Dart Programming - String | Adglob Infosystem Pvt Ltd