Take FREE!! Online Mettl Mock Test to Crack TechM and Other Companies Written Exams.
Get Off-Campus Placement Jobs Info !!!
TCS NQT Technical and Managerial Round Interview Questions

# Program Discussion :: Strings

Home > Programs > Strings

38 / 59

## Write a function which takes one string S, one character X, one more Character Y, which should return the longest substring in the String S, which starts with the X and ends with Y?