Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Slicing of Strings in python

>>> x = "Follow us on Softhunt.net"
>>> x[0:6]
'Follow'
>>> x[-18:-4]
'us on Softhunt'
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #Slicing #Strings #python
ADD COMMENT
Topic
Name
2+7 =