add stripStr and splitMultiPattern in str_functs.cpp/h