Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
20
Task/String-matching/00-TASK.txt
Normal file
20
Task/String-matching/00-TASK.txt
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{{basic data operation}}
|
||||
[[Category: String manipulation]]
|
||||
[[Category:Simple]]
|
||||
|
||||
;Task:
|
||||
Given two strings, demonstrate the following three types of string matching:
|
||||
|
||||
::# 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
|
||||
|
||||
<br>
|
||||
Optional requirements:
|
||||
::# Print the location of the match for part 2
|
||||
::# Handle multiple occurrences of a string for part 2.
|
||||
|
||||
|
||||
{{Template:Strings}}
|
||||
<br><br>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue