View Single Post
Old Jun 13th, 2006, 10:27 AM   #6
Gumby
Newbie
 
Join Date: Mar 2006
Location: Andover, MA / Rochester, NY / Nanticoke, PA
Posts: 16
Rep Power: 0 Gumby is on a distinguished road
Send a message via AIM to Gumby
Thanks guys, here's what I went with:
private static String makeStr(int num) {
  int r,s=0;
  r = ('a' + num / 26);
  s = ('a' + num % 26);
  String s1 = new Character((char)r).toString();
  String s2 = new Character((char)s).toString();
  
  return s1+s2;
}
I appreciate the help - this is way simpler than what I had written.
Gumby is offline   Reply With Quote