Edit It: Slice the given string from the first to the second to the last index
This code shows how to slice a string from the first to the second to the last index.
See it on StackBlitzThis code shows how to slice a string from the first to the second to the last index.
See it on StackBlitz