case Sensitive

liamlambert liamlambert at mac.com
Sun Jan 22 13:00:05 EST 2006


  In order to solve the problem of case sensitive I would like to do
something like this but there is something not right here


put "a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z" into  
tLowerCase
   put "A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z" into  
tUpperCase
   get char 1 of item 1 fld "1"
   put it into tChar
   repeat with x = 1 to the number of items of tUpperCase
     if tChar contains item x of tLowerCase then replace tChar with  
item x
     end if
   end repeat
   put it into fld "2"

Liam Lambert
liamlambert at mac.com
IRELAND




More information about the use-livecode mailing list