I have a string which contains text with multiple \n, I want to display that text in the new line but with a leading icon.
For e.g, If I have a String str="Hello\nThere\nUser". I want to display the text like this:
Icon Hello
Icon There
Icon User
How can I achieve this?