Join Slack
Powered by
Is there a specific reason why the common `StringB...
# multiplatform
m
Marc Knaup
05/20/2019, 1:33 PM
Is there a specific reason why the common
StringBuilder
is append-only? I.e. no replace/delete.
t
thana
05/20/2019, 1:35 PM
we are talking about
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/-string-builder/index.html
?
m
Marc Knaup
05/20/2019, 1:35 PM
yes
t
thana
05/20/2019, 1:42 PM
good question... in javascript its String-backed. i dont see any easin why the delete methods shouldn't be possible to implement that way 🤔
m
Marc Knaup
05/20/2019, 1:49 PM
I basically have to do something like this:
https://gist.github.com/fluidsonic/1a356448e20db7ee26b1fd43b94f570c
5
Views
Open in Slack
Previous
Next