Wave Interview Question

write a Sub string program