diff --git a/03_string_and_string_interpolation.dart b/03_string_and_string_interpolation.dart index 3132427..904d1d6 100644 --- a/03_string_and_string_interpolation.dart +++ b/03_string_and_string_interpolation.dart @@ -22,6 +22,9 @@ void main() { print("My name is $name"); print("The number of characters in String Kevin is ${name.length}"); + + /// if you do not want to use String interpolation use [ name.length.toString() + print("The number of characters in String Kevin is "+name.length.toString()); int l = 20;