Dart String Manipulations: Replacing & Searching
Replacing:
You can use replaceAll() method to use string method to use sentence change to use replaceAll() method
void main()
{
String str = "hi kem cho?";
String rep;
rep = str.replaceAll('hi', 'jeet');
print(rep);
}
Outp...