⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stringhandling1.vb

📁 大名鼎鼎的mono是.NET平台的跨平台(支持linux
💻 VB
字号:
Imports SystemImports System.CollectionsImports System.ReflectionNamespace StringHandling1    Class Test        ''' <summary>        ''' This function takes a string as an argument and split it on the space character,        ''' with the " as acceptable character.        ''' </summary>        Shared Function ParseLine(ByVal strLine As String) As String()            Dim strs As New ArrayList            strs.Add("a")            'Add the strings to the return value            Dim stt(strs.Count - 1) As String            For i As Integer = 0 To strs.Count - 1                stt(i) = DirectCast(strs(i), String)            Next            Return stt        End Function        Shared Function Main(ByVal cmds() As String) As Integer            Dim args() As String            Try                args = Parseline("a")                Return 0            Catch ex As exception                console.writeline(Ex.message)                console.writeline(ex.stacktrace)                Return 1            End Try        End Function    End ClassEnd Namespace

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -