老师您好,string 中的段落 应该用什么表示? Post By:2017/9/15 14:06:00 [显示全部帖子]
dim d as string = e.Form.Controls("TextBox1").text If d.Contains(",") = True Or d.Contains(".") Or d.Contains(";") = True Then d=d.Replace(",","" & vbcrlf & "") d=d.Replace(".","" & vbcrlf & "") d=d.replace(";","" & vbcrlf & "") e.Form.Controls("TextBox2").text = d For i As Integer = d.lines.count -1 To 0 Step -1(然而,提示我lines只能用在 textbox上那么这里我该怎么办?)