In this scenario, the sequence determines and counts if there is a word “Absent” in the column. However, in the given column there is a word “Absent” but the output is still zero. How can I solve this? Has it something to do with the data types of the variables?
can you show the regex which you are matching
1 Like
System.Text.RegularExpressions.Regex.Matches(AttenString,“Absent” ).Count
Are you converting the whole column into string?
1 Like
I want to count the number of absences in the column.
Thank you so much and I will work on it.
1 Like
1 Like