String matching: Difference between revisions
Content added Content deleted
m (→{{header|C++}}) |
m (wiki trickery) |
||
Line 3: | Line 3: | ||
Given two strings, demonstrate the following 3 types of matchings: |
Given two strings, demonstrate the following 3 types of matchings: |
||
# Determining if the first string starts with second string |
|||
# Determining if the first string contains the second string at any location |
|||
# Determining if the first string ends with the second string |
|||
Optional requirements: |
Optional requirements: |