Write a function named removeFirstAndLast that receives 2 parameters:
sourcetargetand returns a new string created by removing from source the first and last appearances of target.
source
=target
=source
=target
=Unlock all functions
The first 10 functions are free. Get lifetime access to all 100 with a one-time payment — no subscription.
Upgrade to Pro