case Sensitive
Björnke von Gierke
bvg at mac.com
Sun Jan 22 13:05:42 EST 2006
Any reason why you can't use the "toUpper" function?
Also,
> if tChar contains item x of tLowerCase then replace tChar with
> item x
can't work you want to do:
> if tChar contains item x of tLowerCase then replace tChar with
> item x of tUpperCase
On Jan 22 2006, at 19:00, liamlambert wrote:
> 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"
--
official ChatRev page:
http://chatrev.bjoernke.com
Chat with other RunRev developers:
go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev"
More information about the use-livecode
mailing list