How to check how many email Id's present in text file

Hi Team,

How to check how many email Id’s present in text file?
Text file as below format:
image

1 Like

Like this
int_count =Str_input.Split(Environment.NewLine.ToArray(),StringSplitOptions.RemoveEmptyEntries).Count

Where int_count is a variable of type int32
Made an edit buddy
Kindly check the new expression @RajeshT

Cheers

1 Like

Works Perfectly @Palaniyappan.
Thanks a ton!!

Cheers @RajeshT

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.