VB中截取字符串用什么方法?
相关推荐
Vb字符串模糊匹配查找
内容索引:VB源码,字符处理,模糊查找 Vb字符串模糊匹配查找
VB字符串和正则表达式参考手册
VB字符串和正则表达式参考手册
VB.Net字符串和正则表达式参考手册
VB.Net字符串和正则表达式参考手册
VB.net 获取电话号码的函数
Private Function GetPhoneNum(ByVal phone As String) As String Dim result As String = "" Dim temp As String Dim temp2 As String If phone = "" Then result = phone Else If InStr(1, phone, Chr(10)) <> 0 Then temp = Left(phone, InStr(phone, Chr(10)) - 1) temp2 = Right(phone, Len(phone) - InStr(phone, Chr(10))) temp2 = Replace(temp2, "0", "#") temp2 = "(##)" + temp2 result = System.String.Format("{0:" + temp2 + "}", CDbl(Right(temp, Len(temp) - 1))) Else result = "(" + Left(phone, 3) + ")" + Right(phone, Len(phone) - 3) End If End If Return result End Function
2011年12月考试可视化程序设计(VB)第三次作业.doc
2011年12月考试可视化程序设计(VB)第三次作业


VB基础类
