Android - how to replace part of a string by another string?

前端 未结 6 851
夕颜
夕颜 2020-11-27 17:07

I have strings with some numbers and english words and I need to translate them to my mother tongue by finding them and replacing them by locallized version of this word. Do

6条回答
  •  执念已碎
    2020-11-27 18:01

    MAY BE INTERESTING TO YOU:

    In java, string objects are immutable. Immutable simply means unmodifiable or unchangeable.

    Once string object is created its data or state can't be changed but a new string object is created.

提交回复
热议问题