Hi to all
I have a quick question. How can go through the integer to find if there is any specific number. For example my input would be 234446 (integer is of type long),and now I would like to check that integer and find how many 4's are in there and then display it.
Appreciate it
mauro21pl 10 Junior Poster in Training
hinduengg 26 Junior Poster in Training
hinduengg 26 Junior Poster in Training
mauro21pl 10 Junior Poster in Training
TheGathering 12 Junior Poster
hinduengg 26 Junior Poster in Training
mauro21pl 10 Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.