Search a list: Difference between revisions

Content added Content deleted
Line 3,660: Line 3,660:
=={{header|Smalltalk}}==
=={{header|Smalltalk}}==
{{works with|GNU Smalltalk}}
{{works with|GNU Smalltalk}}
Smalltalk indexes start at 1.
Notice: Smalltalk indexes start at 1.
<lang smalltalk>| haystack |
<lang smalltalk>| haystack |
haystack := 'Zig,Zag,Wally,Ronald,Bush,Krusty,Charlie,Bush,Bozo' subStrings: $,.
haystack := 'Zig,Zag,Wally,Ronald,Bush,Krusty,Charlie,Bush,Bozo' subStrings: $,.