I want to write a string a characters to a text box, and have each character on a separate line. What happens now is the characters are all on the same line. I’m thinking the desired behavior might be had by embedding carriage return & line feed characters the string. However, I can’t find a function in AppLab that accepts and ASCII code as argument and returns the associated character as a string;, e.g. 132 returns “Z”. Is there such function, or is there another way?
Use a “\n” to print a carriage return.
Thanks!
var MyChar = (“A”+ “\n”) +“B”;
setText(“text_area1”, MyChar);
printed two lines as desired.