![]() Topic awaiting preservation: Incrementing letters in JAVA (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: under your rug, |
![]() If I take something like this, I get it to increment A > Z just fine but then it starts over with A instead of moving to AA then AB, AC, etc like most programming languages do. code: char x;
|
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() This is a JavaScript forum, not a Java forum. quote:
|
Paranoid (IV) Inmate From: under your rug, |
![]() Well there wasn't a forum for JAVA and this was as close as I could get code: $letter = 'a';
|
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
![]() The poster has demanded we remove all his contributions, less he takes legal action. |
Nervous Wreck (II) Inmate From: Indianapolis, In USA |
![]() You'll need to start with en empty string for a base. |
Nervous Wreck (II) Inmate From: |
![]() Why not just use an int for your counter and convert to string representation as needed? code: public class Test {
|