I have a popup that has the following output! The output is just one complete line with spaces and newlines. But each line is concatenated with the previous line. Thus, each line can be configured individually.
Test1 : Success : 200 Test2 : Success : 200 Test3 : Success : 200 Test4 : Success : 200 Test5 : Success : 404 Test6 : Success : 401
Since I have several such popups and several tests for each popup. Is there a way to format lines to have appropriate indentation? That is, I would like my conclusion to be:
Test1 : Success : 200 Test2 : Success : 200 Test3 : Success : 200 Test4 : Success : 200 Test5 : Success : 404 Test6 : Success : 401
javascript angularjs
Tarun
source share