I have an error when trying to use contain in python.
s = u\"some utf8 words\" k = u\"one utf8 word\" if s.contains(k): print \"contains\"
There is no difference between str and unicode.
str
unicode
print u"ábc" in u"some ábc" print "abc" in "some abc"
is basically the same.