Why do I get only a part of string when I use getString in Kotlin?
I saved a string in resources file, I run Code A and get Result A, I hope to get the Result B.
What's wrong with my code?
Result A
Recommend the app to a friend
Code A
val context = LocalContext.current
val temp=context.getString(R.string.myRecommendContent)
Recommend (#) the app to a friend
Result B
Recommend (#) the app to a friend