✨ Add StringSegmentList.Replace(char[] characters, char replacement)
#224
Labels
StringSegmentList.Replace(char[] characters, char replacement)
#224
Is your feature request related to a problem? Please describe.
From time to time, we must replace multitple characters in a string
Describe the solution you'd like
Given the following string
"Hello World"
It would be nice to be able to replace both
e
ando
.Describe alternatives you've considered
Calling
Replace(char, char)
twice successivelyBut with the current implementation this will be very inefficient as the algorithm loops through all nodes of the
segmentList
for each call to.Replace(char, char)
method.Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: