Split text in VB.NET

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TomyHo
    New Member
    • Jun 2015
    • 1

    Split text in VB.NET

    I have 1 file text with 700 line.
    I want mod 700 line with 5 and show to 5 text box different.
    I count line length and mod with 5. I math round it.
    How can i split line and show to 5 text box different?
    I think use with For Loop, sorry my English bad.

    Thanks you,
    Tomy
  • al fart
    New Member
    • Jul 2015
    • 2

    #2
    Try this
    dim sArr() as string
    sarr=split(text boxX.text,vbnew line)

    Comment

    Working...