mgcb.net
当前位置:首页 >> VB怎么用代码实现输入一段字符串,如sD#gA$EDF这样... >>

VB怎么用代码实现输入一段字符串,如sD#gA$EDF这样...

你的意思是删掉#号是吧。代码如下: Private Sub Command1_Click() Text1.Text = delete(Text1.Text) End Sub Function delete(ByVal str As String) Dim temp As String Dim i As Integer i = 0 Do i = i + 1 If (Asc(Mid(str, i, 1)) >= 97 An...

网站首页 | 网站地图
All rights reserved Powered by www.mgcb.net
copyright ©right 2010-2021。
内容来自网络,如有侵犯请联系客服。zhit325@qq.com