In my program i want to input a string of integer e.g 2107900000. I want to get its length and then want to remove all the 0’s and 1’s.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Perhaps not optimal, but you could copy it into another buffer conditionally:
Or you could do it in a single buffer: