Hi, it is posible with lingo to convert certain string into its equivalent uppercase string, and also a way to convert a string to lowercase.
Yes. My preferred method is to use offset:
on touppercase thetext
alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
repeat with a = 1 to the number of chars in thetext
c = offset(char a of thetext,alphabet)
if c > 0 then put char c of alphabet into char a of thetext
end repeat return thetext
end
on tolowercase thetext
alphabet = "abcdefghijklmnopqrstuvwxyz"
repeat with a = 1 to the number of chars in thetext
c = offset(char a of thetext,alphabet)
if c > 0 then put char c of alphabet into char a of thetext
end repeat return thetext
end
Some people get into using ASCII codes instead, but I think they're masochists.
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
