0
/ 10
Complete the method below for evaluating the substring of any string. If the given string is empty, return "Empty". If the parameters are...
Complete the method below for evaluating the substring of any string. If the given string is empty, return "Empty". If the parameters are invalid, return "Invalid Parameters". Otherwise, return the substring.
Examples:
slicer("Hello World",0,1) -> "H"
slicer("University of North Carolina at Charlotte",32,41) -> "Charlotte"
Your feedback will appear here when you check your answer.