Python has no 
[substring](http://net-informations.com/python/basics/substring.htm) methods 
like substring() or substr(). Instead, we use slice syntax to get parts of 
existing strings. Python slicing is a computationally fast way to methodically 
access parts of your data. The colons (:) in subscript notation make slice 
notation - which has the arguments, start, stop and step . It follows this 
template:
    
    
    string[start: end: step]
    
    
    Run

  * start - Starting index of string, Default is 0.
  * end - End index of string which is not inclusive .
  * step - An integer number specifying the step of the slicing. Default is 1.


Reply via email to