C# or Regex -- How To Count Number of Question Marks?

MajesticZP

Client
Регистрация
16.02.2020
Сообщения
4
Благодарностей
0
Баллы
1
Sounds simple ... but to a newbie, it's a bit more difficult.

Would be grateful for any assistance in counting number of question marks.
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 775
Благодарностей
1 185
Баллы
113
Sounds simple ... but to a newbie, it's a bit more difficult.

Would be grateful for any assistance in counting number of question marks.
Hi, no sure were to count, but if in the text then simple regex to list will do the job \?.*?
Then just use action List processing and Get the count of lines and you will have question mark count in text.

52043
 

MajesticZP

Client
Регистрация
16.02.2020
Сообщения
4
Благодарностей
0
Баллы
1
Worked perfectly!!! Thank you
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)