replaceFirstMapped method Null safety
Replace the first occurrence of
from in this string.
Returns a new string, which is this string
except that the first match of
from, starting from
is replaced by the result of calling
replace with the match object.
startIndex must be non-negative and no greater than length.
String replaceFirstMapped(Pattern from, String replace(Match match), [int startIndex = 0]);