Re: upper() - NOT the usual FAQ :-)
Posted in 1997
... > Why else do you think these functions are so utterly ghastly? If we could > do arbitrary substringing with variables, then life would be one heck of > a lot easier: > > LET lower = "abcdefghijklmnopqrstuvwxyz"; > LET upper = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; > > FOR i = 1 TO LENGTH(str) > LET n = index(lower, str[i]); > IF n != 0 THEN > LET str[i] = upper[n]; > END IF > END FOR > > If only!!! :-((( > > Yours, > Jonathan Leffler (johnl@informix.com) #include <disclaimer.h> Yeah, Informix Kids, have denied the inclusion of variables in substrings on SPL. Maybe, if a lot of messages like this appeared on the newsgroup, they may spend more attention to this real problem!!! V.Salvador vsalvador@deistersoft.com