title: How to replace all occurrences of a sub string in kotlin
body: <p>How to replace a part of a string with something else in Kotlin?</p>
  
  <p>For example, changing "good morning" to "good night" by replacing "morning" with "night"</p>