Forum Discussion
rraghvani
Champion Level 3
3 years agoYou want to use Keys to write multiple lines? Then you need to have the carriage return key '\r' or line break '\n' on each line.
For example,
var str1 = "Hello\rWorld";
var str2 = "Hello\nWorld";
var str3 = "Hello\r\nWorld";
// Which will print
Hello
World
- subhram_sahoo3 years agoOccasional Contributor
Can we connect through skypee. Above approach was not what i am looking