Re: urban legends just won't go away!

From: Kenneth Whistler (kenw@sybase.com)
Date: Thu Jan 30 2003 - 17:23:48 EST

  • Next message: Doug Ewell: "Re: vietnamese font"

    > 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);
      }
      
      



    This archive was generated by hypermail 2.1.5 : Thu Jan 30 2003 - 18:03:06 EST