Forum Discussion
rraghvani
Champion Level 3
You 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_sahoo
2 years agoOccasional Contributor
Can we connect through skypee. Above approach was not what i am looking
Related Content
- 6 years ago
- 6 years ago
- 9 years ago
Recent Discussions
- 6 days ago
- 6 days ago
- 9 days ago