Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python remove last part of string

#Removing last three characters
foo = foo[:-3]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #remove #part #string
ADD COMMENT
Topic
Name
7+6 =