Answer the question
In order to leave comments, you need to log in
How to replace line break with comma in AS3?
Good day
The user enters some values into the TextArea, separating them with a line break. You need to replace these hyphens with commas.
I tried like this:
As you can see, everything is in order with 1 and 2, but then it does not react. What to do?
Answer the question
In order to leave comments, you need to log in
sometimes you still need to replace "\n\r" - it depends where the text was typed
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question