Status SubString (StringType s, int pos, int len, StringType *sub) { int k, j ; if (poss.length||lenlength=len-pos+1 ; /* 求得子串长度 */ for (