Check out example codes for "kotlin android string resource". It will help you in understanding the concepts better.

Code Example 1

println("My string is: ${R.string.my_string}")

Learn ReactJs, React Native from akashmittal.com