Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
This is the sample code for Part3 Programming in Urdu.
void main() {
var myString1 = "My String 1";
var myString2 = "My String 2";
var myString3;
//myString3 = myString1 + myString2;
//myString3 = 'My String 1' '\nMy String 2';
var count = 1;
print('My count is: $count');
count = 2;
print('My count is: $count');
var string = 'Dart is fun';
var newString = string.substring(0, 8);
print(myString1.length);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.