How to split a string by x amount of characters

后端 未结 4 489

I have a program where a user enters a list of numbers in the form of a string. This list of numbers is always a multiple of 8.

So the list can contain 8, 16, 32, 40

4条回答
  •  囚心锁ツ
    2020-12-06 18:32

    Function slice(ByVal s as String) As String()
        Return (From c As String in s).ToArray()
    End Function
    

提交回复
热议问题