Skip to content
/ strslice Public

Python 3 style emoji-safe string slicing for Python 2.

License

Notifications You must be signed in to change notification settings

ojii/strslice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

strslice

Python 3 style emoji-safe string slicing for Python 2. Based on uniseg-python by Masaaki Shibata.

Usage

>>> from strslice import strslice
>>> print(u'🏩'[0])
???
>>> print(strslice(u'🏩')[0])
🏩

Release Notes

1.0

  • Initial release
  • Unicode 8.0.0 data

About

Python 3 style emoji-safe string slicing for Python 2.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages