I have a simple question. I m using a custom view that takes a string as its text. The texts are quite long and they have titles in them. So this titles has to be bold for example. But the values Im passing are different then each other.
value1 = “lorem ipsum lore ipsum nn loremtitle nn lorem ipsum…”
value2 = “lorem ipsum lore ipsum lorem ipsum nn loremtitle nn loremipsum…”
What I would like to achieve is put something inside the value to make the title bold. Something like this:
value1 = “loremipsum loremipsum nn ** loremtitle ** nn loremipsum”
Is there a way to achieve this?
I’ve searched google but couldn’t find the thing I search for. Probably I couldn’t ask the right way. I asked the ChatGPT etc, the most possible option was putting ** beginning and end of the text but didnt work as well.
Berkay Sütlü is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1