MTW LABS interview question

What is the difference between slice, substr, substring?