add subPre and subSuf method in StrUtil class