I want to display message in breaking into newline. like below Pan Certificate UAN certificate. the below code is use to do that else strattachmsg += arrMsg[0] + " \n" + ""; but it is not working. can anyone help