Javascript Actor reading from Edit Text
-
Hello,
I'm using the javascript actor to read text. I want to use the split() function to separate the input by each line. However, the code is not detecting any '\n' characters even when I press enter a lot. Other split characters like '-' work fine. Is there a different character I need to use for the newline split?
Thanks.
-
Might be worth having a read through this thread:
https://community.troikatronix...HTH
Mark in Brexshit land
-
Hi there @sebastian,
Any reason why you prefer the JavaScript method then the Data Array way ? Personally I would go for the later.Like @mark_m already stated, please look at the thread mentioned, if you still have questions feel free to reply
-