将段落分成几行 [英] To split the Paragraph into lines
本文介绍了将段落分成几行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
尊敬的先生/女士,
美好的一天给你!!
我在寻找将段落分成一行的编码
例如,如果一个段落由5行组成,我需要将所有五行拆分为一个
Dear Sir / Madam,
Good Day to you!!
I am looking for the codings to split the Paragraph into line by line
For example if a paragraph consists of 5 lines, i need all the five lines to be splitted oine by one
推荐答案
首先将您的段落存储在字符串中然后拆分它
First Store Your Paragraph in string then split it
dim ss,ss2 as String
ss2=cString(vbNewLine);
ss.split(ss2);
我没试过但是我认为它应该工作
I did't Try It But I think It Should Work
这篇关于将段落分成几行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文