Amity University Interview Question

Explain data extraction from string