I need the program to process and scan the address and print an output stating whether the character is a digit or a letter.
for(i = 0 ; i < charArray.length; i++){
if(Character.isDigit(i)){...
Type: Posts; User: javaStooge
I need the program to process and scan the address and print an output stating whether the character is a digit or a letter.
for(i = 0 ; i < charArray.length; i++){
if(Character.isDigit(i)){...
I'm not familiar with the regex....but this is what I was thinking, except I'm getting an error by using
isDigit(charArray(i)) Not sure how else to scan the character array.
for(i = 0 ; i <...
Yes, that was the direction I was headed, except replace() accepts only replace(old char, new char), so I'm not sure how else to condense the code.
I just came across this post from the forum...is that the only way to code the JOptionPane? Seems rather similar to Sys.out
...