Slicing A String

Learn how to slice a string using the slice method.

The slice method

The slice method is commonly used in simple functions and coding challenges. It returns a substring of the string specified by its argument list.

The easiest way to remember the parameter list ...