substr bug fix
find_first_not_of bug fix
rfind bug fix
fix the bug when the default value of the argument is npos