0

how can I count special characters in a string in few steps

8th Nov 2016, 2:24 PM
nayana john
nayana john - avatar
3 Answers
+ 1
Using regular expression in python u can do easily , you can include/exclude no.,alphabets or special symbols and for count u can use loop or store in some other mutable data type and measure length.
8th Nov 2016, 3:15 PM
Piyush Goyani
Piyush Goyani - avatar
0
use ASCII codes ASCII Code Table http://www.asciitable.com/
8th Nov 2016, 2:41 PM
Muhammad Rizwan
Muhammad Rizwan - avatar