-
Change Font Style after specific character.
hi,
i would like to either split text into different variables
a = text.sourceText.split(“*”)[0];
b = text.sourceText.split(“*”)[1];
a+b;
and change the font style for each
or
change the font style everytime a certain character appears.
i dont seems to get the syntax right for the split and have no idea how to deal with the sourceText in an if condition. (text.sourceText == “x” doesnt seem to work.)any ideas?
thanks so much,
chris