Instead of toUpper

Robert Brenstein rjb at robelko.com
Sat Nov 29 16:59:36 EST 2008


On 29/11/08 at 21:51 +0100 Melitón Cardona Torres apparently wrote:

>## SpecChars
>      if aChar is among the chars of spSma then
>         repeat with y=1 to the number of chars of spSma
>           if aChar is char y of spSma then
>             replace char y of spSma with char y of spCap in upText
>           end if
>         end repeat
>       end if

can be

      get offset(aChar, spSma)
      if it > 0 then replace char it of spSma with char it of spCap in upText

Robert



More information about the use-livecode mailing list