Search:

Type: Posts; User: kmath

Search: Search took 0.10 seconds.

  1. Replies
    6
    Views
    2,066

    Re: Removing redundancy from String

    I'm trying this now but still no luck:


    import java.io.*;
    class charAt{
    public static void main(String[] args) {
    String tf = "111111123422256";

    for (int i=0;i<(tf.length());i++){
  2. Replies
    6
    Views
    2,066

    Re: Removing redundancy from String

    fourteen 6s
  3. Replies
    6
    Views
    2,066

    Removing redundancy from String

    Hello all,

    I'm trying to eliminate the redundancy from this string using charAt. But can't quite nail it right. I'm trying to start with the first number in the string and cycle through all the...
Results 1 to 3 of 3