hi!, i need some help, i already searched alot for this one, all i could find was, replace, remove, and do it like variable = “”, but for some reason when i try to remove a certain text from de text in the ui it just doesnt work, already used a debug an it acctually shows what i mean it to show, and still, nothing.
texto.desc.text += “\n”+quest.Descrição; ← thats how i put the text that i want in the ui
texto.desc.text.Replace(quest.Descrição, “”); ← and thats how im trying to take it of.
please help.
looks like this line takes the string from text element,
and replaces that string, but doesn’t assign it back to that text element:
texto.desc.text.Replace(quest.Descrição, "");
so its like doing
mystring.Replace("asdf","");
instead of
mystring = mystring.Replace("asdf","");
mgear. man… sometimes i guess im a little too stupid, or distracted, anyway, thanks alot! it worked