How to add a line break in SMS Message

Sometimes while sending a SMS, we need to add a new line or a link break in our sms. There are many ways to add a line break. But now every method will work in your case because it depends on how you are sending your SMS.

I Method : 

Add “\r\n” in your SMS.

II Method : 

Add “%0a” in your SMS.

Note : Encode your message with ” ” (double quotes) not ‘ ‘ (single quotes).

Advertisements