Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Visual Basic ( VB ) (http://www.go4expert.com/forums/visual-basic/)
-   -   counting special characters from a text file (http://www.go4expert.com/forums/counting-special-characters-text-file-t7556/)

kamote 27Nov2007 04:34

counting special characters from a text file
 
i was able to create a program on how to count words from a text file but im having problems on how to count and display the "special characters" from this text file. Im referring to special characters like "." ";" "?" "!" "(" etc...

any ideas? :)

shabbir 27Nov2007 09:05

Re: counting special characters from a text file
 
Loop through the string in the same manner as you do for the characters and add each numbers when any such character is found.


All times are GMT +5.5. The time now is 20:06.