I'm trying to format my Twilio SMS via ruby to have line breaks so I can send an SMS like so:
"Please enter your order as such:
- 3 beers
- 2 glasses of red wine"
I've seen suggestions like use \n for php or enter '%a0' but none of these has worked.
This doesn't work:
r.sms "Please enter your order as such:" \n
"- 3 beers" \n
"- 2 glasses of red wine"
This does work:
r.sms "Please enter your order as such:\n" \
"- 3 beers\n" \
"- 2 glasses of red wine"