modify str_functs.cpp/h for splitStr