I have a text box with several lines of text separated by /, when I press the search button, I open it in a text label to be able to mark the searched word in red, but it gives me everything followed, it is possible to keep it as I have it in the textbox ?
what I need is for the label to see it in the same order as in the text box
at the beginning the label is empty and the textbox data is copied to search for the word
it´s possible
I write in the text box and when I want to search, I write the word to search for example "kds" then the label opens as it can be seen, with the searched word "kds" in red, what I need if possible is that in the label looks ordered as in the text box
Because your label is using htmlFormat, it does not see/use the line returns (\n) in the texbox text. You need to replace these with html returns (<br>) as suggested by @ABG above.
Yes, it finally worked, I put a new label "buscado1" where the separation by / is executed and then in the other label "buscado" it performs the search
The tag "buscado1 " is always hidden in designer
I recently did instance counting in an app to search broken .bky files for orphan component references.
The basic idea is to split the text into a list at whatever unique pattern defines what you want to find, then use the list length of the resulting temp list.