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++){
Type: Posts; User: kmath
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++){
fourteen 6s
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...