2016 Update

This commit is contained in:
Tina Müller 2016-12-05 22:15:40 +01:00
parent 948b86eafa
commit dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions

View file

@ -1,11 +1,16 @@
{{basic data operation}}
[[Category: String manipulation]] [[Category:Simple]]
Given two strings, demonstrate the following 3 types of matchings:
{{basic data operation}}
[[Category: String manipulation]]
[[Category:Simple]]
# 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
;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.
::# &nbsp; Print the location of the match for part 2
::# &nbsp; Handle multiple occurrences of a string for part 2.
<br><br>