Anonymous user
String matching: Difference between revisions
→{{header|Smalltalk}}
Drkameleon (talk | contribs) No edit summary |
|||
Line 3,765:
=={{header|Smalltalk}}==
<lang smalltalk>a startsWith: b
a includesSubCollection: b. "inherited from superclass"
a includesString: b. "the same, but more readable"
a endsWith: b
a indexOfSubCollection: b "inherited"
a indexOfSubCollection: b startingAt: pos
a indexOfString: b
a indexOfStringStartingAt: b
</lang>
=={{header|SNOBOL4}}==
|