Infosys Interview Question

Splitting Text and Number in string