Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: can't quite get it right...

From: rotenca:telvia:it at: 30-Dec-2002 2:33

> > could this be trimmed further? > > Yes. I think it would be best as a native that exposed the operating > system's equivalent of 'Uppercase? (and 'Lowercase? as well) for maximum > portability and speed. >
uppercase?: func [ch [char! string!] /local tmp] [ all [char? ch ch: to-string ch] ch == uppercase copy ch ] --- Ciao Romano