RosettaCodeData/Task/String-matching/Smalltalk/string-matching.st

6 lines
125 B
Smalltalk

a startsWith: b
a includesSubCollection: b
a endsWith: b
a indexOfSubCollection: b
a indexOfSubCollection: b startingAt: pos