This problem is in Contest(s) below:
Contest 6480:基础B-第4课-课堂练习
Contest 6469:AK王老师 语法初级B班 字符串课堂练习