Instead of toUpper

Robert Brenstein rjb at robelko.com
Sat Nov 29 17:04:32 EST 2008


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

>## Those characters (æ, ¦) cannot be included in spSma (?)
>       if chartonum(aChar) is 190 then
>         replace aChar with numtochar(174) in upText
>         next repeat
>       end if
>      if chartonum(aChar) is 207 then
>         replace aChar with numtochar(207) in upText
>         next repeat
>       end if

can be

      get wordoffset(chartonum(aChar),"190 207")
      if it>0 then
          replace cChar with numtochar(word it of "174 207") in upText
          next repeat
      end if

I wonder why you have 207 for both lower and upper versions.

Robert



More information about the use-livecode mailing list