Dart program to find a substring in a string. The program will read the string and indices as input from the user and prints out the substring in that range.
ReadDart program to find the remainder by taking two numbers as user inputs. We will use remainder() method of dart to find the remainder.
ReadHow to find ceil and floor values of a number in dart. ceilf of a number returns the smallest integer value that is greater than or equal to the number and floor is largest value less than or equal to the number.
ReadDart program to check if a year is leap year or not. We will write one dart program to take one year as input from the user and it will print if the year is leap year or not.
ReadLearn how to encode/decode JSON in dart with examples. dart:convert is used for data conversion as well as for encoding/decoding JSON values.
Readlearn how to shuffle a dart list. shuffle() method is used for list shuffling in dart. We can also pass one random value to this method.
ReadDart program to check if a list is empty or not. Dart provides couple of different properties to check if a list is empty.
ReadDart program to check if a list contains a specific element or not. Learn to solve this by using a for-in loop, using any() and using contains() method.
ReadDart program to check if any or every element of a list satisfy a specific condition or not.
ReadSometimes we need to remove one character from a string using its index. The string is immutable. We can't modify it. The only way is to create one different new string from the old one.
Read