I tried everything I could think of…
1. unicode_obj.split('\u2022')
2. re.split(r'\u2022', unicode_object)
3. re.split(r'(?iu)\u2022', unicode_object)
Nothing worked
The problem is that I want to split on special characters.
example string : u'<special char like middot:\u00b7 or bullet:\u2022> sdfhsdf <repeat special char> sdfjhdgndujhfsgkljng <repeat special char> ... etc'
Please help.
Thanks in advance.
Consider:
vs:
This should make the difference between
text.split('\u2022')andtext.split(u'\u2022')clear.