mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Clement Denis
26b3a37cc0
|
4 years ago | |
---|---|---|
.. | ||
README.md |
README.md
Keep Cut
Instructions
Create the cutFirst
function that takes a string
and remove the 2 first characters.
Create the cutLast
function that takes a string
and remove the 2 last characters.
Create the cutFirstLast
function that takes a string as parameter
and remove the 2 first characters and 2 last characters.
Create a keepFirst
function that takes a string as parameter
and return the string only keeping the 2 first characters.
Create a keepLast
function that takes a string as parameter
and return the string only keeping the 2 last characters.
Create a keepFirstLast
function that takes a string as parameter
and only keep 2 first characters and 2 last characters.