Go to file
Dayo Ayeni 75df63028a Create sms-counter
First Commit
2016-07-10 21:15:20 +01:00
LICENSE Initial commit 2016-07-10 21:01:51 +01:00
README.md Update README.md 2016-07-10 21:12:52 +01:00
sms-counter Create sms-counter 2016-07-10 21:15:20 +01:00

sms-counter-python

SMS Character Counter

Character counter for SMS messages.

##Usage

from sms_counter import SMSCounter

smsmsg = SMSCounter();
smsmsg.count('ǂ some-string-to-be-counted ');

returns

<class 'dict'>
{
    'length': 28,
    'per_message': 70,
    'remaining': 42,
    'messages': 1,
    'encoding': 'UTF16'
}

###Mentions

License

sms-counter-python is released under the MIT License.