Edit This Code:
See Result »
The slice() method extract a part of a string and returns the extracted parts in a new string:
Result: