How to split string in Python?
· One min read
Split string with identical separator
path = '45.63.130.248:15+221.160.226.9:329+101.240.154.40:1197'
nodes = path.split('+')
print nodes
Regular expressions, patterns, and usage across different programming languages
View All Tagspath = '45.63.130.248:15+221.160.226.9:329+101.240.154.40:1197'
nodes = path.split('+')
print nodes