Answer the question
In order to leave comments, you need to log in
How to get the number of lines in a TextBox?
I want to know the number of lines so that I can write the lines to different variables.
Answer the question
In order to leave comments, you need to log in
You can split the contents into an array through Split (separator - line break) and count the number of elements.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question