Count each line in HTML Code?

Hi try to splt the string by “enter”/“newline”
then assign each of them into array

then can manipulate the array using for each
and assign them to a new string (append the reult of for each )
something like :
yourString.Split(Environment.NewLine.TocharArray)

regards
ahmad

1 Like