extrack lines of text from a textbox

Ron399 0 Reputation points

I need to extrack each line in a multi line text box one by one and put them in a string variable

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,834 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Viorel 103.2K Reputation points

    For example, in Windows Forms applications, in VB:

    For Each line In TextBox1.Lines

    The line variable will contain the lines one-by-one.

    0 comments No comments