ready to start
should return zero if string is empty