Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to split from a specific charecter to the end of the string in python

string = "stack_vidhya"
# write the symbol in parantheses
print(string.partition("_")[2])
#output
 #vidhya
 
PREVIOUS NEXT
Tagged: #split #specific #charecter #string #python
ADD COMMENT
Topic
Name
9+2 =