Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to remove first few characters from string in python

a_string = "abcde"

sliced = a_string[2:]
Remove first 2 characters

print(sliced)
Source by www.kite.com #
 
PREVIOUS NEXT
Tagged: #remove #characters #string #python
ADD COMMENT
Topic
Name
2+2 =