Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

cut 0s on string python

>>> '00000010'.lstrip('0')
'10'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #cut #string #python
ADD COMMENT
Topic
Name
1+5 =