Foxtable(狐表)用户栏目专家坐堂 → [求助]字符串拆分问题


  共有3650人关注过本帖树形打印复制链接

主题:[求助]字符串拆分问题

帅哥哟,离线,有人找我吗?
狐狸爸爸
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:管理员 帖子:47448 积分:251054 威望:0 精华:91 注册:2008/6/17 17:14:00
  发帖心情 Post By:2013/12/21 12:28:00 [显示全部帖子]

Dim str As String= e.Form.Controls("TextBox2").value
Dim n As Integer
Dim strs() As String
strs =str.replace(vbcr,"").Split(vblf)
n=strs.Length
Dim i As Integer
Dim dt(i) As fxDataSource
For i = 0 To n-1
    If strs(i)  > "" Then
        MessageBox.Show(strs(i),"提示")
    End If
Next

 回到顶部