halirutan02/27/2019, 9:46 AM
to finally get "<name>Carla</name> and <name>Bob</name> went to school". Is there an easy way in Kotlin to achieve this without tracking the lengths that I have already inserted?
diesieben0702/27/2019, 10:00 AM
halirutan02/27/2019, 11:31 AM
Pavlo Liapota02/27/2019, 1:15 PM
and append part by part while using input ranges on original string.
halirutan02/27/2019, 1:32 PM
for several ranges exists which does the job. I'm going to follow your advice.
String.replaceRange(range: IntRange, replacement: CharSequence)