We should use `find` instead of find_first_of, they are different.
Please refer to http://www.cplusplus.com/reference/string/string/find_first_of/