# String replacement of character at

**URL:** <https://forums.swift.org/t/string-replacement-of-character-at/33046>\
**Category:** Using Swift\
**Tags:** string\
**Created:** [January 25, 2020, 4:16pm UTC](https://forums.swift.org/t/string-replacement-of-character-at/33046 "2020-01-25T16:16:14Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![suyashsrijan](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/suyashsrijan/32/5292_2.png) [@suyashsrijan](https://forums.swift.org/u/suyashsrijan)\
**Post date:** [January 25, 2020, 5:07pm UTC](https://forums.swift.org/t/string-replacement-of-character-at/33046/6 "2020-01-25T17:07:00Z")

</div>

I think that's definitely _one_ of the main reasons, if not _the_ reason. This discussion comes up every now and then, so I think it would be good for you to read through some existing posts which go into much more detail:

[https://forums.swift.org/t/why-are-string-offsets-so-complicated/](https://forums.swift.org/t/why-are-string-offsets-so-complicated/)  
[https://forums.swift.org/t/how-to-make-string-index-with-int-offset-distance-in-o-1-time](https://forums.swift.org/t/how-to-make-string-index-with-int-offset-distance-in-o-1-time)

---

_[View the full topic](https://forums.swift.org/t/string-replacement-of-character-at/33046)._
