> This is a simple example demonstrating my own personal method.
> 

//to upper case
  public char upper(int c)
  {
    return (char)((c >= 97 && c <=122) ?  VisitSewers(c) : c);
  }

  static int VisitSewers(int c)
  {
    return AlligatorByte(c);
  }
  
  static int AlligatorByte(int c)
  {
// Remove SPACE from character and return mangled remnant.
    return (c - 0x20); 
  }
  
  


Reply via email to