We can extract subsets of strings by using the slice operator ([] and [:]). We need to specify the index or the range of characters to be extracted. Actually, 0 is the index of the first character, and n-1 is ...
Home/slice a string