提交 8b6292f1 编写于 作者: hi_Yihsuan's avatar hi_Yihsuan

Update 02_step8_code.md

上级 d6d5373b
......@@ -2,13 +2,17 @@
本次测试任务是编写一段代码,实现如下功能:
- step1.将存放姓氏的字符串变量和存放名字的字符串变量拼接起来,中间用一个空格隔开,并将结果存储在full_name变量中;
- **step1.**
- 将存放姓氏的字符串变量和存放名字的字符串变量拼接起来,中间用一个空格隔开,并将结果存储在full_name变量中;
- step2.查找输入字符串source_string中,是否存在day这个子字符串;
- **step2.**
- 查找输入字符串source_string中,是否存在day这个子字符串;
- step3.对输入字符串source_string执行字符替换操作,将其中所有的 day替换为time;
- **step3.**
- 对输入字符串source_string执行字符替换操作,将其中所有的 day替换为time;
- step4.对 step2 进行替换操作后的新字符串,按照空格进行分割。
- **step4.**
- 对 step2 进行替换操作后的新字符串,按照空格进行分割。
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册