Python 3 style emoji-safe string slicing for Python 2. Based on uniseg-python by Masaaki Shibata.
>>> from strslice import strslice
>>> print(u'🏩'[0])
???
>>> print(strslice(u'🏩')[0])
🏩
- Initial release
- Unicode 8.0.0 data
Python 3 style emoji-safe string slicing for Python 2. Based on uniseg-python by Masaaki Shibata.
>>> from strslice import strslice
>>> print(u'🏩'[0])
???
>>> print(strslice(u'🏩')[0])
🏩