I need to get number of lines in this para how could i do this
2 Likes
OutStr=InputStr.Split({Environment.NewLine}, StringSplitOptions.None).Count.ToString
3 Likes
split the string based on newline char (environment.newline)
numberofline = InputString.Split(vblf).Count
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.