Dart String Manipulations: Replacing & Searching
Mar 13, 2024 · 1 min read · 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...
Join discussion