Answers for "flutter replace character in string"

1

flutter replace character in string

newString = 'resume';
newString.replaceAll('e', 'é'); // it returns the string   'résumé'

// And you can use a regex to search like a needle in a haystack:
'resume'.replaceAll(RegExp(r'e'), ‘é’); // 'résumé'
Posted by: Guest on July-12-2020

Code answers related to "flutter replace character in string"

Code answers related to "Dart"

Browse Popular Code Answers by Language