问答题

简答题

已知字符串:a=“an apple”,b=“other hero”,c=“her”,求: 
(1)concat(substr(a,1,2),b)。 
(2)replace(a,substr(a,5,1),c)。 
(3)index(a,c)和index(b,c)。

【参考答案】

(1)返回值为“another hero”,其中substr(a,1,2)的返回值为&......

(↓↓↓ 点击下方‘点击查看答案’看完整答案 ↓↓↓)