Cleinsight interview question

What is the difference between split and substring?