以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  [求助]Split能制定字符位置进行拆分么??  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=92857)

--  作者:clchen
--  发布时间:2016/11/15 11:18:00
--  [求助]Split能制定字符位置进行拆分么??
如何指定位置进行拆分
图片点击可在新窗口打开查看此主题相关图片如下:{e3@_0y1j`03$9@esa7gmy.png
图片点击可在新窗口打开查看

--  作者:有点蓝
--  发布时间:2016/11/15 11:29:00
--  
Dim str As String = "1a,2,3,4,5,6,7"
str = str.SubString(str.Split(",")(0).Length + 1)
Output.Show(str)
Dim arrr() As String = str.Split(",")

--  作者:有点蓝
--  发布时间:2016/11/15 11:31:00
--  
Dim str As String = "1a,2,3,4,5,6,7"
Dim arrr() As String = str.Split(",")
For i As Integer = 1 To arrr.Length - 1
    Output.Show(arrr(i))
Next

--  作者:clchen
--  发布时间:2016/11/15 13:50:00
--  
拆分后复选框能否自动勾选上?
--  作者:有点蓝
--  发布时间:2016/11/15 14:33:00
--  
参考:http://www.foxtable.com/webhelp/scr/1638.htm