Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!rochester!udel!news.mathworks.com!europa.eng.gtefsd.com!howland.reston.ans.net!pipex!bnr.co.uk!bcarh8ac.bnr.ca!bcarh189.bnr.ca!nott!cunews!tina.mrco.carleton.ca!knight
From: knight@mrco.carleton.ca (Alan Knight)
Subject: Re: Smalltalk/V question
Message-ID: <knight.793344612@tina.mrco.carleton.ca>
Sender: news@cunews.carleton.ca (News Administrator)
Reply-To: knight@mrco.carleton.ca (Alan Knight)
Organization: Carleton University
References: <3iavig$fm1@haida.pro.net> <3ib64f$2dv@news.panix.com>
Date: Tue, 21 Feb 1995 05:30:12 GMT
Lines: 22

In <3ib64f$2dv@news.panix.com> areider@panix.com (Alan Reider) writes:

>:>
>>   (char1=$t or: [char1=$T])
>>   ifTrue: [
>>           (char2=$h or: [char2=$H])
>>           ifTrue: [
>>                   (char3=$e or: [char3=$E])
>>                   ifTrue: [ ..... ].].].
>>

... lots of options deleted...

or you could write

  aString asUpperCase = 'THE'

-- 
 Alan Knight                | The Object People
 knight@acm.org             | Smalltalk and OO Training and Consulting
 alan_knight@mindlink.bc.ca | 509-885 Meadowlands Dr.
 +1 613 225 8812            | Ottawa, Canada, K2C 3N2
