extrack lines of text from a textbox

Ron399 0 Reputation points
2023-03-19T19:18:47.74+00:00

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

Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
{count} votes

1 answer

Sort by: Most helpful
  1. Viorel 125.6K Reputation points
    2023-03-19T19:58:15.4466667+00:00

    For example, in Windows Forms applications, in VB:

    For Each line In TextBox1.Lines
       
    Next
    

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

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.