Challenge: Print Part of a String

This lesson presents a coding challenge based on string manipulation in D.

We'll cover the following

Problem statement #

In this problem, you are given a string and your task is to print the substring between the first and last occurrences of ‘e’.

Input #

this line has five words

Output #

e has five

Get hands-on with 1200+ tech skills courses.