###### tags:`實習題目`
# 字串好好玩
## Description
請輸入一句話,找出指定單字的位置,並將單字後的句子(包含單字)連接至另一個字串指定位置(指定單字),如果找不到指定單字則輸出錯誤。
**題目有多種解法,大家可以上網查一查字串的用法喔!**
**Input**
輸入包含:
* 2句字串
* 2個指定單字
**Output**
指定字串連接至指定位置後
**提示(๑¯∀¯๑)**
可使用`find()`尋找字串位置
# **範例**
```
請輸入一句話:
Today is a sunny day
請輸入指定單字:
is
請輸入要連接之字串
I wish for the entire year.
請輸入指定單字:
for
================================================
I wish is a sunny day for the entire year.
```
---
```
請輸入一句話:
They can speak Chinese and English
請輸入指定單字:
Chinese
請輸入要連接之字串
people here can speak very well.
請輸入指定單字:
very
================================================
people here can speak Chinese and English very well.
```
## Sample Input 01
```
Today is a sunny day
is
I wish for the entire year.
for
```
## Sample Output 01
```
I wish is a sunny day for the entire year.
```
---
## Sample Input 02
```
smart,handsome,tall,beautiful,kind and cute
tall
she is .
.
```
## Sample Output 02
```
she is tall,beautiful,kind and cute .
```
---
## Sample Input 03
```
Nice to meet u
Teddy
I am Teddy
am
```
## Sample Output 03
```
wrong
```
<!--參考網址(https://mropengate.blogspot.com/2015/07/cc-string-stl.html) -->