Slice Operator

 

  • Slice is a portion of entire string
  • Positive Index starts from zero where as negative index starts from -1
  •  

    Slice Operator - Indexing to a string