Hello @kartik,
In your example, you can break the string into two pieces:
alert ( "Please Select file"
+ " to delete");
Or, when it's a string, as in your case, you can use a backslash:
alert ( "Please Select file\
to delete");
Hope it helps!!
Thank YOU!!