以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  [求助]字符串拆成单一字符  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=192025)

--  作者:2900819580
--  发布时间:2024/5/24 11:37:00
--  [求助]字符串拆成单一字符
dim str as string = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
想将str拆成A,B,C,D.....

--  作者:有点蓝
--  发布时间:2024/5/24 11:44:00
--  
for each c as char in str
msgbox(c)
next

--  作者:y2287958
--  发布时间:2024/5/24 11:54:00
--  
Dim str As String = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
Output.Show(String.join(",", str.tolist))