Ready to work
Should return 0 if string is empty