下一行有任何字符串con_ cat此字符串与所有以前的字符串? [英] Next line have any string con-cat this string with all previous string?
本文介绍了下一行有任何字符串con_ cat此字符串与所有以前的字符串?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在试图控制字符串...
如果在新行上有任何字符串可用,则将此字符串与1行中的所有前一个字符串相连。 />
例如
姓名=
Mahesh A. Wani
地址=
Ganesh Colony,Ring Road
Jalgaon-425001
我想要上面的输入文字如下:
姓名= Mahesh A. Wani
地址= Ganesh Colony,Ring RoadJalgaon- 425001
解决方案
首先检查条件是否为新行如果有一条线然后尝试放一条反斜杠,将你带到前一行,那么你可能很容易看到串
I'm trying to con-cat the string...
If on new line there is any string is available then con-cat this string with all previous string in 1 line.
e.g.
Name=
Mahesh A. Wani
Address=
Ganesh Colony, Ring Road
Jalgaon-425001
I want the above input text as follows:
Name=Mahesh A. Wani
Address=Ganesh Colony, Ring RoadJalgaon-425001
解决方案
Check condition first for new line if there is a line then try to put a backward slash that take you on the previous line then you may easily con-cat string
这篇关于下一行有任何字符串con_ cat此字符串与所有以前的字符串?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文