Path: utzoo!attcan!uunet!husc6!mailrus!ames!pasteur!ucbvax!pro-exchange.cts.COM!rich From: rich@pro-exchange.cts.COM (Rich Sims) Newsgroups: comp.sys.apple Subject: String case conversion Message-ID: <8805170841.AA16840@crash.cts.com> Date: 17 May 88 03:34:53 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: pnet01!pro-sol!pro-exchange!rich@nosc.mil Organization: The Internet Lines: 11 A previous message gave a method for converting a string to all upper case. It will work, but it's slow and generates *tons* of string garbage, especially if yuo are doing frequent conversions. Here's a method that will work a bit more rapidly, and won't generate any string garbage at all. It works in DOS 3.3 or ProDOS. CAVEAT: The string to be converted must be the last string referenced before this routine is called... even if you have to do something like "S$ = S$" before calling the routine. ----- code ------