Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

remove prefix in python 3.6

def remove_prefix(text, prefix):
    if text.startswith(prefix):
        return text[len(prefix):]
    return text  # or whatever
 
PREVIOUS NEXT
Tagged: #remove #prefix #python
ADD COMMENT
Topic
Name
1+2 =