| aString |
aString := 'Now is the time for all good men to come to the aid of their blah blah blah'.
count := 0.
aString do: [:letter | letter asLowercase == $a ifTrue: [count := count + 1.]] .
count "--> 5"
Last modified at 7/24/97; 1:42:58 PM
Other Links of Interest
College of Computing | EduTech Institute | GVU Center
Mark Guzdial | Papers | CS 2390 Spring '97 Home Page | STABLE | MMC-CaMILE