DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
4+9 =
Submit