Closed plocket closed 3 years ago
There is something amiss with your math.
I'm not sure the statement for 160 quite makes sense that way either now that I think about it. At 160 characters you have one full message. One more character will turn it into two messages. Other options:
1 msgs (2 chars left) Num chars 159
1 msgs (1 chars left) Num chars 160
2 msgs (134 chars left) Num chars 161
1 msgs (1 chars left) Num chars 159
1 msgs (0 chars left) Num chars 160
2 msgs (133 chars left) Num chars 161
Option 2 makes the most sense to me [at the moment].
I gave it a shot. Let me know what you think.
Allow user to see the number of sms messages the text they've entered will send.
Original is here: https://github.com/plocket/sms-counter