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